DeepFaceLab
DeepFaceLab copied to clipboard
What triggers an history save?
Hi !
My history saves happen every 40 or 60 iterations, how is this number calculated and how can I change it ?
I see the save happens in https://github.com/iperov/DeepFaceLab/blob/9ad9728b4021d1dff62905cce03e2157d0c0868d/models/ModelBase.py and at line 469, a modulo tells DFL to save the history every 10 iterations (and 100 on colab). But in practice, it gets saved every 40 or 60 iterations.
I would like to change that number to something higher, like 1000, but I can't understand how this number is calculated. Thanks !