Learn PyTorch for deep learning in a day. Literally. #54 #274
Unanswered
danmoldashev
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @danmoldashev, I've just tried this on my end and the notebook works running end to end. Have you tried troubleshooting your code step by step? See the original notebook here: https://github.com/mrdbourke/pytorch-deep-learning/blob/main/01_pytorch_workflow.ipynb |
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.
-
I was completing the code step by step and got stuck on this moment
#plot_predictions(predictions=y_preds) # -> won't work... data not on CPU
#Put data on the CPU and plot it
plot_predictions(predictions=y_preds.cpu())
In my case .cpu() isn't helping to solve the converting from Tensor to numpy
Beta Was this translation helpful? Give feedback.
All reactions