Hello I try to train my CNN in pytorch. Everything gone well except my code line running_loss += loss.data[0] . I have tried to trace it. Here is the size of input.
Finally I got it for the first problem is because my data loader give some wrong value. @albanD Thanks, I also have see that command before, however I am using jupyter notebook to train my model so I still don’t know how to do that.
For my previous reply is still bug and hopely fixed in the next update. Here the link.