section 03 - Computer vision - Non-linearity (model_1) #575
Unanswered
BahryJarbou
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi Daniel and everyone :)
A quick heads up on why the model did worse on the gpu compared to the cpu:
I think what caused it is that the layer_stack had the ReLU layer applied to the final linear layer and so the CrossEntropyLoss didn't have logits as inputs. you can test it and see that loss is greater than 1 which violates the range for the cross-entropy loss.
Cheer and thank you for the awesome course ^^
Beta Was this translation helpful? Give feedback.
All reactions