many small improvements

This commit is contained in:
hobogalaxy committed 2020-12-13 22:36:20 +01:00
1 parent f75d2a83ef
commit afb4e17b2c
9 files changed
+53 -45

No files matched your search

+1 -1
View File
@@ -274,7 +274,7 @@ def init_wandb_logger(project_config: dict,
"test_size": len(datamodule.data_test)
if hasattr(datamodule, 'data_test') and datamodule.data_test is not None else 0,
})
wandb_logger.log_hyperparams(project_config["num_of_gpus"])
wandb_logger.log_hyperparams({"num_of_gpus": project_config["num_of_gpus"]})
wandb_logger.log_hyperparams(run_config["trainer"]["args"])
wandb_logger.log_hyperparams(run_config["model"]["hparams"])
wandb_logger.log_hyperparams(run_config["model"]["load_from"])