Open chenshanghao opened 5 years ago
Did you just run 1_train_predictor.py
without modifying it? Or did you modify some code?
Hi chickenbestlover,
I was trying to migrate your code to notebook. I didn't modify anything and confirmed that the input to the function was same as your code.
Thanks, Chauncey
Have you fixed that error? I was also experimenting with a jupyter notebook on google colab.
I also have this error
The expanded size of the tensor (32) must match the existing size (2) at non-singleton dimension 1
When I tried to run your code via Notebook, this runtime error came.
--> 135 outVal, hidden_, hid = predictormodel.forward(outVal, hidden,return_hiddens=True) 136 outVals.append(outVal) 137 hids1.append(hid)