The Wayback Machine - https://web.archive.org/web/20201018153920/https://github.com/hunkim/PyTorchZeroToAll/pull/47
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed 05_linear_regression.py #47

Open
wants to merge 1 commit into
base: master
from

Conversation

@akihiro-inui
Copy link

@akihiro-inui akihiro-inui commented Jun 16, 2019

To extract loss, loss.data[0] did not work so I removed [0] and it worked.

To extract loss, loss.data[0] did not work so I removed [0] and it worked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.