* make debug mode automatically set level of all command line loggers to `DEBUG`
* make debug mode automatically set the trainer config to `debug.yaml`
* add generator seed to fix test data leaking to train data in datamodule `setup()`
* move Dockerfile to `dockerfiles` branch
* update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-10-12 15:32:19 +02:00
1 parent e34ccb0acf
commit eee3f9ccd3
11 files changed
+72 -101

No files matched your search

+2 -1
View File
@@ -93,7 +93,8 @@ def train(config: DictConfig) -> Optional[float]:
)
# Print path to best checkpoint
log.info(f"Best checkpoint path:\n{trainer.checkpoint_callback.best_model_path}")
if not config.trainer.get("fast_dev_run"):
log.info(f"Best model ckpt: {trainer.checkpoint_callback.best_model_path}")
# Return metric score for hyperparameter optimization
optimized_metric = config.get("optimized_metric")