Is it possible to query the validation loss within the python script? I think something like below would be useful for what I’m doing.
while valid_loss > 200:
learn.fit_one_cycle(5, 2e-4)
learn.fit_one_cycle(1, 2e-2)
learn.fit_one_cycle(25, 2e-3)