Unexpected and malformed update config object with key `wandb_version` when resuming run, not originally included in the pushed config.
See original GitHub issuePython version: 3.8
Wandb version: 0.10.10
OS: Linux
Sample code failing:
if args.config:
with open(args.config, 'r') as f:
config = yaml.load(f)
else:
config = None
resume = 'allow' if args.id else None
wandb.init(project='icl-vae',
entity='kdelcastillo',
id=args.id,
resume=resume,
allow_val_change=True)
wandb.save('*.pt')
wandb.config.update(config)
config = wandb.config
By the stack trace output it seems that it’s failing on wandb.init.
Output/stacktrace:
wandb: Currently logged in as: kdelcastillo (use `wandb login --relogin` to force relogin)
Traceback (most recent call last):
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 569, in init
run = wi.init()
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 416, in init
run._set_run_obj(ret.run)
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_run.py", line 623, in _set_run_obj
c_dict = config_util.dict_no_value_from_proto_list(run_obj.config.update)
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/lib/config_util.py", line 30, in dict_no_value_from_proto_list
d[item.key] = json.loads(item.value_json)["value"]
TypeError: 'int' object is not subscriptable
wandb: ERROR Abnormal program exit
Traceback (most recent call last):
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 569, in init
run = wi.init()
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 416, in init
run._set_run_obj(ret.run)
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_run.py", line 623, in _set_run_obj
c_dict = config_util.dict_no_value_from_proto_list(run_obj.config.update)
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/lib/config_util.py", line 30, in dict_no_value_from_proto_list
d[item.key] = json.loads(item.value_json)["value"]
TypeError: 'int' object is not subscriptable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "src/main.py", line 56, in <module>
wandb.init(project='icl-vae',
File "/root/.local/share/virtualenvs/icl-vae-v3xkFSzW/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 606, in init
six.raise_from(Exception("problem"), error_seen)
File "<string>", line 3, in raise_from
Exception: problem
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Unexpected and malformed update config object with ... - GitHub
Unexpected and malformed update config object with key wandb_version when resuming run, not originally included in the pushed config. #1481.
Read more >Unable to perform initial export and push due to shared objects
Hello I am encountering a particularly frustrating problem. After importing a device's configuration into Panorama, the commit fails because ...
Read more >Manage existing cluster objects | Anthos Config Management
This topic describes how to start managing an existing object and how to stop managing an object that is currently managed without deleting...
Read more >CWE-209: Generation of Error Message Containing Sensitive ...
An attack using SQL injection (CWE-89) might not initially succeed, but an error message could reveal the malformed query, which would expose query...
Read more >Cache Storage — Apache Traffic Server 7.1.11 documentation
The object store indexes cache objects according to URLs and associated headers. This enables Traffic Server to store, retrieve, and serve not only...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Issue-Label Bot is automatically applying the label
bugto this issue, with a confidence of 0.93. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
Thanks for the reply Closing this issue 👍