Save model into separate files #8415
-
Hei everyone I am working on a small framework based on PyTorch lightning to perform some experiments.
Now we have the problem with saving the state_dict of these two models separately. To store the whole model we are using the Is there an easy way to save the models each time Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I was able to solve my problem by overwriting |
Beta Was this translation helpful? Give feedback.
I was able to solve my problem by overwriting
_del_model
and_save_model
to perform the desired actions.