feat(Config): added flag to save models

This commit is contained in:
Mark Aron Szulyovszky
2022-02-19 15:06:05 +01:00
parent 77206a5d0a
commit 7db1c4dc00
3 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ def run_pipeline(
wandb,
sweep,
)
save_models(pipeline_outcome, config)
if config.save_models:
save_models(pipeline_outcome, config)
return pipeline_outcome, config