Lesson 13 RuntimeError does not have a grad_fn

(James_Ying) #1

When I run the Lesson 13 notebook on pytorch 0.4 with windows 10.
Got error:
RuntimeError: element 0 of variables does not require grad and does not have a grad_fn

I found only one person have the same problem.
Maybe most of the person run on pytorch 0.3.

Change one line in core.py in fastai/dl2