NameError: name 'ActivationStats' is not defined

Can you reshare the Google Colab link?

This should work now.

I think I got it—you can import it from fastai.callback.all:

Or you can import it directly from fastai.callback.hook:


Not just this but other callbacks are not working either.

I’m getting the following error when trying to install miniai:

It doesn’t show up in search on pypi.org either:

I instead installed miniminiai and ran from miniminiai import * and was able to access those callbacks:

Thanks vbakshi. Very appreciated. That’s minai not miniai. Plus miniminiai does not have ActivationStats. And the behavior of ActivationStats from fastai.callback.all is different from minai.

1 Like