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的参数?在采用保存语句时,会出现以下错误。 "optimizer_state": optim.state_dict(), AttributeError: 'Optimizer' object has no attribute 'state_dict' 请各位解决下疑问,万分感谢。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在代码中提供了保存模型参数的代码,请问各位复现代码的大佬,在实现断点续训时,如何保存optimizer的参数?在采用保存语句时,会出现以下错误。
"optimizer_state": optim.state_dict(),
AttributeError: 'Optimizer' object has no attribute 'state_dict'
请各位解决下疑问,万分感谢。
The text was updated successfully, but these errors were encountered: