flair
flair copied to clipboard
[Question]: Resume training
Question
I'm trying to resume training according to : This code where it says :
7. continue training at later point. Load previously trained model checkpoint, then resume
trained_model = SequenceTagger.load(path + '/checkpoint.pt')
resume training best model, but this time until epoch 25
trainer.resume(trained_model, base_path=path + '-resume', max_epochs=25, )
but resume is not defined in : class ModelTrainer(Pluggable)
I'm sure it's a common task using your awesome library yet I cannot get it working. Any information would be very appreciated.