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

Error: Loading state_dict #11

Open
raniasyed opened this issue Jun 16, 2024 · 0 comments
Open

Error: Loading state_dict #11

raniasyed opened this issue Jun 16, 2024 · 0 comments

Comments

@raniasyed
Copy link

C:\Users\Rania\Documents\Human-Parsing-PyTorch>python evaluate_multi.py
Traceback (most recent call last):
File "C:\Users\Rania\Documents\Human-Parsing-PyTorch\evaluate_multi.py", line 254, in
main()
File "C:\Users\Rania\Documents\Human-Parsing-PyTorch\evaluate_multi.py", line 221, in main
model.load_state_dict(state_dict)
File "C:\Users\Rania\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\torch\nn\modules\module.py", line 2189, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for ResNet:

I am unable to resolve this error since the new version of the LIP model with all the weights is not available now. Please help me out.

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