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

代码错误 #3

Open
chenrunbin123 opened this issue Mar 6, 2023 · 0 comments
Open

代码错误 #3

chenrunbin123 opened this issue Mar 6, 2023 · 0 comments

Comments

@chenrunbin123
Copy link

作者你好,该代码在训练的过程中发生了以下错误:“File "D:\tiny-transformers-main\pycls\core\checkpoint.py", line 106, in load_checkpoint optimizer.load_state_dict(checkpoint["optimizer_state"])
File "D:\Anaconda\envs\pytorch_gpu\lib\site-packages\torch\optim\optimizer.py", line 146, in load_state_dict
raise ValueError("loaded state dict contains a parameter group "
ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group
python-BaseException”,我没怎么修改过任何配置文件,麻烦你看看,谢谢你了!

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