Skip to content

Shape of test sample is different in YT video and notebbok on https://www.learnpytorch.io/02_pytorch_classification/ #254

Answered by mrdbourke
Durga-33 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Durga-33
Comment options

Answer selected by mrdbourke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants