wandb: New version doesn't support save_code as a parameter in init function.
wandb --version && python --version && uname
- Weights and Biases version: 0.10.0 and 0.10.1
- Python version: 3.6.10
- Operating System: Ubuntu 18.04.4 LTS
Description
The save_code parameter is not in the init function anymore.
What I Did
wandb.init(save_code=True)
init() got an unexpected keyword argument 'save_code'
I don’t know if it is intended, but the doc still shows the “save_code” as one accepted parameter for the init function.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 15 (6 by maintainers)
Unfortunately this didn’t make the 0.10.2 release, it will definitely be in 0.10.3 which should be released in the next few days. In the meantime you should be able to set
os.environ['WANDB_SAVE_CODE'] = "true"to have the same behavior as setting this via wandb.init.