How to save model with same filename?
See original GitHub issue🚀 Feature
Hi @vfdev-5 ,
I found that CheckpointHandler
can’t use the fixed filename to save latest model:
https://github.com/pytorch/ignite/blob/v0.4.2/ignite/handlers/checkpoint.py#L149
But this is a very important requirement on our side…How can I achieve that?
For example, I want to always save the best model as model.pt
after validations during training.
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How can I save models with unique names? - Stack Overflow
Probably I am writing the file name incorrectly but I am new to python and i could not fix it myself. seq_lens =...
Read more >Save and load Keras models | TensorFlow Core
When saving the model and its layers, the SavedModel format stores the class name, call function, losses, and weights (and the config, if ......
Read more >How to Save and Load Your Keras Deep Learning Model
You can save your model by calling the save() function on the model and specifying the filename. The example below demonstrates this by...
Read more >Save Simulink model - MATLAB save_system - MathWorks
filename = save_system saves the current top-level model. If the model was not previously saved, save_system creates a file in the current folder....
Read more >Save & Restore Files - Documentation - Weights & Biases
Save a model file from the current directory ... If you create new files in the same path after calling wandb.save we will...
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
Hi @Nic-Ma , #1423 should enable support for fixed filenames. It will be available in the next stable release and now is available on nightly.
Hi @vfdev-5 , sure, submitted ticket: https://github.com/pytorch/ignite/issues/1422 Can we keep this issue open to track? Until you guys officially support fixed file name?
Thanks.