Skip to content

Update 401_CNN.ipynb#105

Merged
MorvanZhou merged 1 commit intoMorvanZhou:masterfrom
YumiGo:ym_develop2
May 13, 2022
Merged

Update 401_CNN.ipynb#105
MorvanZhou merged 1 commit intoMorvanZhou:masterfrom
YumiGo:ym_develop2

Conversation

@YumiGo
Copy link
Contributor

@YumiGo YumiGo commented May 12, 2022

Fix errors due to a change in the data structure of the pytorch

Error code: print('Epoch: ', epoch, '| train loss: %.4f' % loss.data[0], '| test accuracy: %.2f' % accuracy)

Fixed code: print('Epoch: ', epoch, '| train loss: %.4f' % loss.data, '| test accuracy: %.2f' % accuracy)

Fix errors due to a change in the data structure of the pytorch
@MorvanZhou MorvanZhou merged commit 57aaef8 into MorvanZhou:master May 13, 2022
@MorvanZhou
Copy link
Owner

tanks

@YumiGo YumiGo deleted the ym_develop2 branch May 13, 2022 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants