online-continual-learning icon indicating copy to clipboard operation
online-continual-learning copied to clipboard

Model saving and load

Open irfanfadhullah opened this issue 2 years ago • 2 comments

I was wondering, how do we save the model in this framework? Is it same as saving torch model? And can we test the model after the training cycle is done? An example would be great. Thank you

irfanfadhullah avatar Oct 14 '22 01:10 irfanfadhullah

I think it is the same as saving torch model, but for the testing samples are not the same among all runs, you should save those sample at the same time after the end of each run. If you want to reduplicate each incremental step (like the figure 2 in ASER), you could just save the model after finishing trainning each task.

czjghost avatar Oct 17 '22 12:10 czjghost

@czjghost Can you please give an example code of how to save the model and the training and evaluation results? Thanks in advance

Frapais avatar Jun 20 '23 15:06 Frapais