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:
Łukasz Zalewski authored and GitHub committed 2021-09-28 20:07:40 +02:00
1 parent 89b502b090
commit 86f30fb320
19 files changed
+131 -81

No files matched your search

+1 -1
View File
@@ -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