Release/1.1 (#174)
* introduce different running modes: default, debug, experiment * fix pytorch installation in setup_conda.sh * fix incorrect calculation of precision, recall and f1 score in wandb callback * add `_self_` to config.yaml for compatibility with hydra1.1 * fix setting seed in `train.py` so it's skipped when `seed=null` * add exception message when trying to use wandb callbacks with `trainer.fast_dev_run=true` * change `axis=-1` to `dim=-1` in LogImagePredictions callback * add 'Reproducibilty' section to README.md
This commit is contained in:
1 parent
89b502b090
commit
86f30fb320
19 files changed
+131
-81
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ def train(config: DictConfig) -> Optional[float]:
|
||||
"""
|
||||
|
||||
# Set seed for random number generators in pytorch, numpy and python.random
|
||||
if "seed" in config:
|
||||
if config.get("seed"):
|
||||
seed_everything(config.seed, workers=True)
|
||||
|
||||
# Init lightning datamodule
|
||||
|
||||
Reference in new issue
Block a user