fix(wandb): allow use of sweeps (#1512)

* fix(wandb): allow use of sweeps

overwrite run config parameters due to precision error

fix #1290

* docs(wandb): update changelog

* test(wandb): update config test

Co-authored-by: William Falcon <waf2107@columbia.edu>
This commit is contained in:
Boris Dayma
2020-04-24 10:29:24 -04:00
committed by GitHub
co-authored by William Falcon
parent cd15bfc3ce
commit f3d139e90f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def test_wandb_logger(wandb):
wandb.init().log.assert_called_once_with({'global_step': 3, 'acc': 1.0})
logger.log_hyperparams({'test': None})
wandb.init().config.update.assert_called_once_with({'test': None})
wandb.init().config.update.assert_called_once_with({'test': None}, allow_val_change=True)
logger.watch('model', 'log', 10)
wandb.init().watch.assert_called_once_with('model', log='log', log_freq=10)