LearnerCallback in fastai2

I’m upgrading a larger code base to fastai2. I couldn’t find any upgrade guide, does this exist?

In fastai1 there was LearnerCallback, what is the new callback interface in fastai2? Should all inherit from https://github.com/fastai/fastai/blob/master/fastai/callback/core.py#L31? (Callback)

Yes, callbacks in fastai2 inherit from Callback. Also see the docs here: https://docs.fast.ai/callback.core

1 Like