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

8.deep-learning/PyTorch_beginner/2.Autograd自动求导.ipynb 勘误 #18

Open
hupidong opened this issue Oct 12, 2021 · 0 comments
Open

Comments

@hupidong
Copy link

教程最后部分:

只优化分类器

optimizer = optim.SGD(model.fc.parameters(), lr=1e-2, momentum=0.9)
原文应该是:
optimizer = optim.SGD(model.parameters(), lr=1e-2, momentum=0.9)

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

No branches or pull requests

1 participant