Ayush Chaurasia glenn-jocher commited on
Commit
621caea
1 Parent(s): 388016e

W&B: Fix sweep bug (#4276)

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

* call wandblogger.log instead of wandb.log

* Fix Sweep bug

Co-authored-by: Glenn Jocher <[email protected]>

Files changed (1) hide show
  1. utils/loggers/wandb/sweep.py +1 -1
utils/loggers/wandb/sweep.py CHANGED
@@ -4,7 +4,7 @@ from pathlib import Path
4
  import wandb
5
 
6
  FILE = Path(__file__).absolute()
7
- sys.path.append(FILE.parents[2].as_posix()) # add utils/ to path
8
 
9
  from train import train, parse_opt
10
  from utils.general import increment_path
 
4
  import wandb
5
 
6
  FILE = Path(__file__).absolute()
7
+ sys.path.append(FILE.parents[3].as_posix()) # add utils/ to path
8
 
9
  from train import train, parse_opt
10
  from utils.general import increment_path