wandb: wandb: ERROR Error while calling W&B API: Error 1062: Duplicate entry '224579-yzgdojv7' for key 'PRIMARY' ()
Description I run multiple python experiment with different hyper-parameters and get the error:
wandb: ERROR Error while calling W&B API: Error 1062: Duplicate entry '224579-m0paw8n2' for key 'PRIMARY' (<Response [409]>)
In every experiment, I use
wandb.init(
project='the same project name',
name='different name for this run',
config='some thing'
)
I notice that there are similar issues in https://github.com/ultralytics/yolov3/issues/1650 and https://github.com/ultralytics/yolov5/issues/1878.
Thx
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (5 by maintainers)
Hi i get this error after deleting a run in the dashboard which was synched before and again trying to sync. Any suggestions?
@karthi0804 you’ll need to sync the run to a new id. When you run
wandb syncyou can specify a new run_id. To get a new unique id you can runwandb.util.generate_id()I am also getting this issue, just starting today (it was working fine before today). I am using huggingface transformers, and my wandb call is
wandb.init(project=proj_name, name=exp_name). I tried passing inid=wandb.util.generate_id(), but it still gives Error 1062.EDIT: @waltsims’ comment below seems to have been the issue. I closed my
screensessions andpkill -9 wandb, and things are now working.Thanks. It worked. I could resolve this by specifying
wandb sync --id xxxxxxDeleting the local wandb folder that is created in the folder where the experiment is ran fixed it for me.
rm -rf wandb/It seems I had some zombie processes from wandb still running on my machine. I restarted my machine and things seem to be working once again.
But I didn’t open the ticket. So I am not sure if the original problem is resolved. @zliangak should close the ticket if resolved for him.
Thx for your suggestion! I will try that. And my bash is: