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

top_down_img_demo_with_mmdet.py other models exclude onrhand10k-data are NotImplemented for hand pose ? #708

Closed
Gzzgz opened this issue Jun 8, 2021 · 3 comments
Assignees

Comments

@Gzzgz
Copy link

Gzzgz commented Jun 8, 2021

eg:

python demo/top_down_img_demo_with_mmdet.py demo/mmdetection_cfg/cascade_rcnn_x101_64x4d_fpn_1class.py     https://download.openmmlab.com/mmpose/mmdet_pretrained/cascade_rcnn_x101_64x4d_fpn_20e_onehand10k-dac19597_20201030.pth     configs/hand/2d_kpt_sview_rgb_img/topdown_heatmap/rhd2d/hrnetv2_w18_rhd2d_256x256_udp.py  /root/Downloads/hrnetv2_w18_rhd2d_256x256_udp-63ba6007_20210330.pth      --img-root tests/data/rhd/     --img 00111.png     --out-img-root vis_results

Use load_from_http loader
Use load_from_local loader
Traceback (most recent call last):
  File "demo/top_down_img_demo_with_mmdet.py", line 136, in <module>
    main()
  File "demo/top_down_img_demo_with_mmdet.py", line 116, in main
    outputs=output_layer_names)
  File "/root/lj28/project/git-code/mmpose/mmpose/apis/inference.py", line 402, in inference_top_down_pose_model
    return_heatmap=return_heatmap)
  File "/root/lj28/project/git-code/mmpose/mmpose/apis/inference.py", line 266, in _inference_single_pose_model
    raise NotImplementedError()

THX

@jin-s13
Copy link
Collaborator

jin-s13 commented Jun 8, 2021

Slight modification to the codes are needed.

elif dataset in ('OneHand10KDataset', 'FreiHandDataset', 'PanopticDataset',

and

elif dataset in ('OneHand10KDataset', 'FreiHandDataset',

@jin-s13
Copy link
Collaborator

jin-s13 commented Jun 8, 2021

We are also planning to refactor the codes about the datasets. #663
This will make it more easily to support a new dataset.

@jin-s13 jin-s13 self-assigned this Jun 8, 2021
@Gzzgz
Copy link
Author

Gzzgz commented Jun 9, 2021

OK THX

@Gzzgz Gzzgz closed this as completed Jun 9, 2021
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

2 participants