overrride files with wandb.save
See original GitHub issueDuring training, we are saving a snapshot of the best model and upload the snapshot to wandb.
if best:
saveSnapshot("./snapshot.onnx")
wandb.save("./snapshot.onnx")
However, only the first generated snapshot is available on wandb. I assume that wandb checks if this file already exists and does not overwrite it.
Is there any option to enable overriding?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
overrride files with wandb.save · Issue #1372 - GitHub
I assume that wandb checks if this file already exists and does not overwrite it. Is there any option to enable overriding?
Read more >wandb.save - Documentation - Weights & Biases
Ensure all files matching glob_str are synced to wandb with the policy specified. ... or end - live: upload the file as it...
Read more >Environment Variables · GitBook
If you have run wandb init in the directory of your training script, it will create a directory named wandb and will save...
Read more >How to stop logging locally but only save to wandb's servers ...
I assume there must be some file handle issue because wandb's logger is throwing me issues. So my questions: how do I have...
Read more >wandb — PyTorch Lightning 1.8.5.post0 documentation
class pytorch_lightning.loggers.wandb. ... Save LightningModule parameters: ... "person"]) # using file path wandb_logger.log_image(key="samples", ...
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 FreeTop 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
Top GitHub Comments
I’ve tested it with a simple txt file. It seems, that the content of the file is updated on wandb like expected, only the timestamp is not updated
@savvaki I would suggest either using Artifacts, or specifying
wandb.save("filename", policy="now")
to have it upload the file immediately. The default policy is “live” which will upload the file as the file size increases. Thetimestamps
will currently always show the first timestamp that the file was created.