Something changed in the libraries used for the Custom Datasets lesson (results changed even with Daniel's notebook) #776
Unanswered
DimOnGit28
asked this question in
Q&A
Replies: 1 comment
-
The "04_pytorch_custom_datasets_exercise_solutions" Notebook today : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to reproduce the results (not the exact ones but the loss and acc trends of the models) but it was impossible. Of course, I thought I did something wrong so I tried replicating the exact lines of code on my Jupyter notebook (locally).
But again my results were VERY low compared to Daniel's Solution video (epoch 50: my train_acc = 0.33, train_acc in his Custom Dataset Solution video on youtube = 1.0000)
So I tried running his own "04. PyTorch Custom Datasets Exercise Solutions" notebook on Google Collab and the results matched mine and not the ones in the video. (See screenshots in the comment).
The only explanation would be that something changed in the PyTorch libraries. Maybe an update of the loss, optim, torch.nn, datasets.ImageFolder, DataLoaders, or others.
@mrdbourke
Beta Was this translation helpful? Give feedback.
All reactions