As callbacks were one of the important topics in lesson9 (and more broadly they are one of the great thing about fastai) and that I saw a lot of discussion about them on the forums, I decided to make a blog post explaining them as best as I could.
Of course feel free to make any suggestion or comment, all feedback is most welcome! In particular I didn’t talk about the details of how callbacks are implemented in fastai (things like how the CallbackHandler works, same thing for the LearnerCallback) so if you’d like an explanation fo those please tell me.
Just a note: I figured out that callback-based approach to deal with different stages of training was adopted in Keras back in late 2017. Both seems similar so people looking for resources could take advantage of that. Like this introduction:
Yep, I noted. In fact, I think that fastai callbacks are way better/complete than keras’ ones nowadays, and the way you introduced them in the course is the best resource someone can get. I only added that reference because I thought it might help someone looking for extra aid.