From 621caea53c393ca8b46261d369a6314f7d2736d7 Mon Sep 17 00:00:00 2001 From: Ayush Chaurasia Date: Mon, 2 Aug 2021 22:11:52 +0530 Subject: [PATCH] W&B: Fix sweep bug (#4276) * 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 --- utils/loggers/wandb/sweep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/loggers/wandb/sweep.py b/utils/loggers/wandb/sweep.py index 8e952d0..2dcda50 100644 --- a/utils/loggers/wandb/sweep.py +++ b/utils/loggers/wandb/sweep.py @@ -4,7 +4,7 @@ from pathlib import Path import wandb FILE = Path(__file__).absolute() -sys.path.append(FILE.parents[2].as_posix()) # add utils/ to path +sys.path.append(FILE.parents[3].as_posix()) # add utils/ to path from train import train, parse_opt from utils.general import increment_path