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

Happy New Year; model_split KeyError #156

Open
GloryyrolG opened this issue Jan 1, 2025 · 0 comments
Open

Happy New Year; model_split KeyError #156

GloryyrolG opened this issue Jan 1, 2025 · 0 comments

Comments

@GloryyrolG
Copy link

hi @ALL @Annbless @seaman1900 @AK391 ,

may i ask how to solve the issue of the model_split.py? thx & best, happy new year,

> python tools/model_split.py --source ckpt/pose2d/vitpose+_huge_wholebody.pth

Traceback (most recent call last):
  File "tools/model_split.py", line 104, in <module>
    main()
  File "tools/model_split.py", line 85, in main
    new_ckpt['state_dict'][tensor_name] = new_ckpt['state_dict'][tensor_name.replace('keypoint_head', f'associate_keypoint_heads.{i}')]
KeyError: 'associate_keypoint_heads.0.deconv_layers.0.weight'
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