I am a Callbacks newbie; I followed the great intro to Callbacks by @lgvaz and I am not sure why the
on_batch_end does not print anything.
def on_batch_end(self): print('After batch')
def after_epoch(self): print('After epoch')
def begin_fit(self): print('Beginning fit')
learn = cnn_learner(dls, resnet34, metrics=accuracy, cbs=PrintCallback())
What am I missing?
I don’t think there is a
on_batch_end callback, maybe try
You can check the available callbacks here
Thanks for the reply!
What is this one then?
Ah! Am I looking at the wrong docs?
after_batch works, thanks!
I have literally spent hours trying to debug the wrong code base…
Pretty amazing experience
For context, I am trying to implement a variant of AUC.
This is where all of this is coming from.