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

KeyError: 'TopDown is not in the mmpose::model registry. #30

Closed
wangqiang9 opened this issue Oct 28, 2024 · 0 comments
Closed

KeyError: 'TopDown is not in the mmpose::model registry. #30

wangqiang9 opened this issue Oct 28, 2024 · 0 comments

Comments

@wangqiang9
Copy link

Traceback (most recent call last):
File "inference_video.py", line 146, in
main()
File "inference_video.py", line 60, in main
demoer._make_model()
File "RealisDance/prepare_pose/smplerX/main/../common/base.py", line 337, in _make_model
model = get_model('test')
File "RealisDance/prepare_pose/smplerX/main/../main/SMPLer_X.py", line 431, in get_model
vit = build_posenet(vit_cfg.model)
File "/envs/smplerx_new/lib/python3.8/site-packages/mmpose/models/builder.py", line 43, in build_posenet
return build_pose_estimator(cfg)
File "/envs/smplerx_new/lib/python3.8/site-packages/mmpose/models/builder.py", line 35, in build_pose_estimator
return POSE_ESTIMATORS.build(cfg)
File "/envs/smplerx_new/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/envs/smplerx_new/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 232, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/envs/smplerx_new/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 100, in build_from_cfg
raise KeyError(
KeyError: 'TopDown is not in the mmpose::model registry. Please check whether the value of TopDown is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'

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