selfmask icon indicating copy to clipboard operation
selfmask copied to clipboard

Why does main() train the same model twice?

Open LLL-YUE opened this issue 1 year ago • 1 comments

image

LLL-YUE avatar Jul 06 '24 06:07 LLL-YUE

Hello.

"model.train()" is not the call for training the model. It's to get some functions in the model ready for training (but one of "model.train()" is not necessary there). The actual training takes place at https://github.com/NoelShin/selfmask/blob/master/main.py#L103

noelshin avatar Jul 06 '24 18:07 noelshin