Thank you for these tutorials.
I recently went through a course on DL with Keras so I thought it would be a good idea to reproduce what I learned in that course and port it over and learn PyTorch.
It seems that I have got some fundamentals wrong in PyTorch. I copied your code for the linear regression sample, but it doesn't correctly fit like it did in Keras. Obxviously I am missing something. Tried different optimizers and learning rates.
What am I doing wrong?
Ok, I've realised my mistake. Number of epochs could be in the thousands, for example.