fastai-course-1-pytorch icon indicating copy to clipboard operation
fastai-course-1-pytorch copied to clipboard

AttributeError: 'ModuleTrainer' object has no attribute 'history'

Open doehun opened this issue 7 years ago • 2 comments

Lesson 4 cannot be run starting the 11th cell (error on trainer.fit). This problem persists throughout other notebooks as well.

doehun avatar Sep 06 '17 20:09 doehun

Hi @doehun! This is entirely possible. I used https://github.com/ncullen93/torchsample for training, which saw many different updates through out the build of these notebooks.

I will try to run them again sometime next week, or if you could send me the stack trace that you get when running the notebook, there maybe something I could do before then.

Also, for now, I would recommend running all notebooks in this repo with https://github.com/recastrodiaz/torchsample/tree/losses, as the original repo has some bugs waiting to be fixed.

recastrodiaz avatar Sep 14 '17 20:09 recastrodiaz

@recastrodiaz Thank you! Super helpful to have PyTorch implementations of fast.ai!

doehun avatar Sep 15 '17 16:09 doehun