-
What is the motivation for this task?What should I do if I want to save weights every 5 cycles? Thanks Describe the solution you'd likeWhat should I do if I want to save weights every 5 cycles? Thanks Additional contextWhat should I do if I want to save weights every 5 cycles? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
blaz-r
Nov 29, 2023
Replies: 1 comment
-
You will need to modify the following code: anomalib/src/anomalib/utils/callbacks/__init__.py Lines 63 to 69 in 1f50c95 and add every_n_epochs or every_n_train_steps or whichever suits you. You might need to remove monitor, but I am not sure. Check ModelCheckpoint page for more details on checkpointing.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
samet-akcay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will need to modify the following code:
anomalib/src/anomalib/utils/callbacks/__init__.py
Lines 63 to 69 in 1f50c95
and add
every_n_epochs
orevery_n_train_steps
or whichever suits you. You might need to remove monitor, but I am not sure. Check ModelCheckpoint page for more details on checkpointing.