Sorry for the late reply!
Well sort of - I want to do :
handler = ModelCheckpoint(
“models/”,
“checkpoint”,
score_function=score_function,
n_saved=None
)
evaluator.add_event_handler(Events.EPOCH_COMPLETED(every=50), handler, {‘textcnn’: model})
except I want it to be the EPOCH_COMPLETED(every=50) of the training epoch, not the evaluator epoch…