Dev (#105)
* add printing ckpt path * refactor wandb callbacks * fix code formatting
This commit is contained in:
1 parent
755cd89cf0
commit
fca999f527
7 files changed
+124
-103
No files matched your search
@@ -93,6 +93,9 @@ def train(config: DictConfig) -> Optional[float]:
|
||||
logger=logger,
|
||||
)
|
||||
|
||||
# Print path to best checkpoint
|
||||
log.info(f"Best checkpoint path:\n{trainer.checkpoint_callback.best_model_path}")
|
||||
|
||||
# Return metric score for Optuna optimization
|
||||
optimized_metric = config.get("optimized_metric")
|
||||
if optimized_metric:
|
||||
|
||||
Reference in new issue
Block a user