fixed bug with dvc exp show

This commit is contained in:
Michael Duong 2023-09-09 20:07:36 +00:00
parent e35462cc22
commit 48af246077
8 changed files with 31 additions and 15 deletions

View file

@ -0,0 +1,3 @@
/config.local
/tmp
/cache

View file

@ -0,0 +1,3 @@
# Add patterns of files dvc should ignore, which could improve
# the performance. Learn more at
# https://dvc.org/doc/user-guide/dvcignore

View file

@ -104,4 +104,4 @@ if __name__ == "__main__":
logger.info("-------------------------------")
logger.info(f"--- {__file__} - Complete! ---")
logger.info("-------------------------===---")
logger.info("-------------------------------")

View file

@ -15,8 +15,8 @@ stages:
outs:
- path: data/prepared_data/
hash: md5
md5: 8268b5117320d2589594a0eda859c5e5.dir
size: 36337
md5: 9afb06007a6da3cef1619e937e9c413e.dir
size: 36344
nfiles: 2
build_model:
cmd: python build_model.py
@ -27,8 +27,8 @@ stages:
size: 3576
- path: data/prepared_data
hash: md5
md5: 8268b5117320d2589594a0eda859c5e5.dir
size: 36337
md5: 9afb06007a6da3cef1619e937e9c413e.dir
size: 36344
nfiles: 2
params:
configs/build_model.yaml:
@ -41,7 +41,7 @@ stages:
outs:
- path: data/model/
hash: md5
md5: 85ed2d0d4f179e038b8ffd296b86f630.dir
md5: e0f58c7c4e12fa92b29d973dd5f3f565.dir
size: 1096
nfiles: 1
generate_predictions:
@ -49,13 +49,13 @@ stages:
deps:
- path: data/model
hash: md5
md5: 85ed2d0d4f179e038b8ffd296b86f630.dir
md5: e0f58c7c4e12fa92b29d973dd5f3f565.dir
size: 1096
nfiles: 1
- path: data/prepared_data
hash: md5
md5: 8268b5117320d2589594a0eda859c5e5.dir
size: 36337
md5: 9afb06007a6da3cef1619e937e9c413e.dir
size: 36344
nfiles: 2
- path: generate_predictions.py
hash: md5
@ -68,7 +68,7 @@ stages:
outs:
- path: data/predictions/
hash: md5
md5: 7bb333329935cc66390475a3ad6deaf9.dir
md5: 28ad87e9a47ea8815a0b8ba5808e750c.dir
size: 2531
nfiles: 1
generate_metrics:
@ -76,13 +76,13 @@ stages:
deps:
- path: data/predictions
hash: md5
md5: 7bb333329935cc66390475a3ad6deaf9.dir
md5: 28ad87e9a47ea8815a0b8ba5808e750c.dir
size: 2531
nfiles: 1
- path: data/prepared_data
hash: md5
md5: 8268b5117320d2589594a0eda859c5e5.dir
size: 36337
md5: 9afb06007a6da3cef1619e937e9c413e.dir
size: 36344
nfiles: 2
- path: generate_metrics.py
hash: md5
@ -95,5 +95,5 @@ stages:
outs:
- path: metrics/metrics.json
hash: md5
md5: bf7ed6a9b378b42fb3d7b6d16c76655f
size: 183
md5: 82e90d3f00bfd7c5a3fb83c2c14f4cff
size: 182

View file

@ -39,3 +39,5 @@ stages:
- configs/generate_metrics.yaml:
outs:
- metrics/metrics.json
metrics:
- metrics/metrics.json

View file

@ -103,3 +103,7 @@ if __name__ == "__main__":
],
metrics_output_filepath=generate_metrics_params["metrics_output_filepath"],
)
logger.info("-------------------------------")
logger.info(f"--- {__file__} - Complete! ---")
logger.info("-------------------------------")

View file

@ -99,3 +99,7 @@ if __name__ == "__main__":
"predictions_output_filepath"
],
)
logger.info("-------------------------------")
logger.info(f"--- {__file__} - Complete! ---")
logger.info("-------------------------------")