W&B: Fix for 4360 (#4388)
Browse files* Improve docstrings and run names
* default wandb login prompt with timeout
* return key
* Update api_key check logic
* Properly support zipped dataset feature
* update docstring
* Revert tuorial change
* extend changes to log_dataset
* add run name
* bug fix
* bug fix
* Update comment
* fix import check
* remove unused import
* Hardcore .yaml file extension
* reduce code
* Reformat using pycharm
* Remove redundant try catch
* More refactoring and bug fixes
* retry
* Reformat using pycharm
* respect LOGGERS include list
* Fix
* fix
Co-authored-by: Glenn Jocher <[email protected]>
utils/loggers/wandb/wandb_utils.py
CHANGED
@@ -157,6 +157,8 @@ class WandbLogger():
|
|
157 |
self.data_dict = data_dict
|
158 |
else: # Local .yaml dataset file or .zip file
|
159 |
self.data_dict = check_dataset(opt.data)
|
|
|
|
|
160 |
|
161 |
self.setup_training(opt)
|
162 |
if not self.wandb_artifact_data_dict:
|
@@ -505,4 +507,4 @@ def all_logging_disabled(highest_level=logging.CRITICAL):
|
|
505 |
try:
|
506 |
yield
|
507 |
finally:
|
508 |
-
logging.disable(previous_level)
|
|
|
157 |
self.data_dict = data_dict
|
158 |
else: # Local .yaml dataset file or .zip file
|
159 |
self.data_dict = check_dataset(opt.data)
|
160 |
+
else:
|
161 |
+
self.data_dict = check_dataset(opt.data)
|
162 |
|
163 |
self.setup_training(opt)
|
164 |
if not self.wandb_artifact_data_dict:
|
|
|
507 |
try:
|
508 |
yield
|
509 |
finally:
|
510 |
+
logging.disable(previous_level)
|