We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
训练文本识别模型发现,即使 不进行 optimizer.step() ,模型参数也会发生改变,加上with paddle.no_grad(),模型参数才不会改变,这是为啥
The text was updated successfully, but these errors were encountered:
使用with paddle.no_grad()会冻结网络,即不计算梯度,也不会进行反向传播
Sorry, something went wrong.
zhangyubo0722
No branches or pull requests
训练文本识别模型发现,即使 不进行 optimizer.step() ,模型参数也会发生改变,加上with paddle.no_grad(),模型参数才不会改变,这是为啥
The text was updated successfully, but these errors were encountered: