Dev (#113)
* 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:
1 parent
bc0de86874
commit
99b9c1a717
9 files changed
+146
-140
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user