mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-12 12:40:20 +08:00
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:
co-authored by
William Falcon
parent
cd15bfc3ce
commit
f3d139e90f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user