question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New version doesn't support save_code as a parameter in init function.

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
vanpeltcommented, Sep 22, 2020

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.

0reactions
sydhollcommented, Nov 18, 2021

In the past year we’ve majorly reworked the CLI and UI for Weights & Biases. We’re closing issues older than 6 months. Please comment to reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New version doesn't support save_code as a parameter in init ...
I don't know if it is intended, but the doc still shows the "save_code" as one accepted parameter for the init function.
Read more >
python - Why isn't my class initialized by "def __int__" or "def ...
I find it helps a little to have the convention of always putting __init__ (and/or __new__ ) as the first method in a...
Read more >
Mongoose v6.8.0: Middleware
Document middleware is supported for the following document functions. ... that argument is assumed to be // an error. next(err); }); schema.pre('save', ...
Read more >
State and Jetpack Compose | Android Developers
State in an app is any value that can change over time. This is a very broad definition and encompasses everything from a...
Read more >
Using dynamic references to specify template values
Dynamic references provide a concise, powerful way for you to specify external values stored and managed in other services in your stack templates....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found