[Dclib-devel] Clean on model during training
Brought to you by:
davisking
|
From: Eloi Du B. <elo...@gm...> - 2018-01-07 22:18:29
|
Hi,
When training a NN, I am using several passes of training, and in between,
I would like to save the model. I see that it's advised to use the clean
method, but is it safe as I'm going to continue the training in another
pass?
Here is a pseudo code:
while(k < 100)
{
train(model, k);
model.clean();
serialize(model) >> "file.dat";
}
Thanks,
|