-
Video: 02. PyTorch Neural Network Classification Output in YT video output in Length of predictions: 200, Shape: torch.Size([200, 1]) Also why there is so much difference in predictions values given in YT and given in notebook Please clarify |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Durga-33, Good question(s)! You're right about the shapes being different in the videos/notebooks. I'd pay more attention to the notebooks, the videos have some mistakes in them but the notebooks are checked regularly to make sure they work. I've just rerun the notebook you're talking about and it works for me. If the random numbers are very different, make sure the seeds you're setting are the same as in the videos/notebooks. Otherwise, small differences are to be expected depending on the computing platform you're using. |
Beta Was this translation helpful? Give feedback.
Hi @Durga-33,
Good question(s)!
You're right about the shapes being different in the videos/notebooks.
I'd pay more attention to the notebooks, the videos have some mistakes in them but the notebooks are checked regularly to make sure they work.
I've just rerun the notebook you're talking about and it works for me.
If the random numbers are very different, make sure the seeds you're setting are the same as in the videos/notebooks.
Otherwise, small differences are to be expected depending on the computing platform you're using.