Page 1 of 1

Model not being saved

Posted: Mon Mar 17, 2025 11:42 pm
by madracoon

Hi everyone!

I am currently training a model to swap Ronaldo's and Bob Iger's faces for my master's project. The model has been running for 4 hours now and provides good results (visually). I have saved and continued the training once, but I now noticed that I do not have a model file saved in the model repository. I am worried that if I stop the training or turn off the laptop, I might lose my progress.

Showing hidden files in the folder did not help. Is there a solution or maybe there's something I missed in the README? It does say that saving the model takes a little while, but for me, the code stopped instantly.

Any advice here?

Thanks in advance!


Re: Model not being saved

Posted: Tue May 20, 2025 6:06 pm
by torzdf

It sounds like you are looking in the wrong place.

The model saves:

  • Every 250 iterations (by default) or whatever value you set
  • When you stop training.