colorfuldim icon indicating copy to clipboard operation
colorfuldim copied to clipboard

AttributeError: 'Learner' object has no attribute 'hooks'

Open hyperL1ght opened this issue 6 years ago • 0 comments

Hi artste,

Thank you so much for create this useful visualizing tools. When I use your code, I run into this problem, after fitting the model with ActivationsHistogram callback, I got AttributeError: 'Learner' object has no attribute 'hooks' when trying to run learn.get_preds(with_loss=True, ds_type=DatasetType.Train). I tried it on an example notebook you provided (sample_usage.ipynb) and got the same error. How should I go about handling it?

error error2

hyperL1ght avatar Nov 30 '19 00:11 hyperL1ght