* change local lambda to normal function and move it outside of main method to enable DDP

* update .pre-commit-config.yaml

* update requirements.txt

* reformat files

* remove disabling lightning logs feature

* change logging strings to enable python 3.7

* update README.md

* remove double logging bug prevention since lightning fixed that
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-30 03:19:32 +02:00
1 parent bc0de86874
commit 99b9c1a717
9 files changed
+146 -140

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ import hydra
from omegaconf import DictConfig
# load environment variables from `.env` file if it exists
# recursively searches for `.env` in all folders starting from work dir
dotenv.load_dotenv(override=True)
@@ -16,9 +17,9 @@ def main(config: DictConfig):
# A couple of optional utilities:
# - disabling python warnings
# - disabling lightning logs
# - easier access to debug mode
# - forcing debug friendly configuration
# - forcing multi-gpu friendly configuration
# You can safely get rid of this line if you don't want those
template_utils.extras(config)