fix optuna config and prevent double logging
This commit is contained in:
1 parent
b1e0bf9717
commit
5f57eb7875
4 files changed
+12
-23
No files matched your search
@@ -24,6 +24,10 @@ def extras(config: DictConfig):
|
||||
|
||||
# make it possible to add new keys to config
|
||||
OmegaConf.set_struct(config, False)
|
||||
|
||||
# fix double logging bug (this will be removed when lightning releases patch)
|
||||
pl_logger = logging.getLogger('lightning')
|
||||
pl_logger.propagate = False
|
||||
|
||||
# [OPTIONAL] Disable python warnings if <config.disable_warnings=True>
|
||||
if config.get("disable_warnings"):
|
||||
|
||||
Reference in new issue
Block a user