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

Inference script for bottom_up model #31

Closed
gachiemchiep opened this issue Jul 24, 2020 · 5 comments
Closed

Inference script for bottom_up model #31

gachiemchiep opened this issue Jul 24, 2020 · 5 comments
Labels
status/duplicate issue/PR already exists

Comments

@gachiemchiep
Copy link

Hello guys.
Thank you for your great contribution.

I tried some top-down method (model zoo by using the scripts inside mmpose/demo, and it works well.

Unfortunately, I can't run the bottom-up model yet.
Do you guys have any clue how to do this?

Thank you.

@jin-s13
Copy link
Collaborator

jin-s13 commented Jul 24, 2020

The demo codes for bottom-up models are not available for the time being. We will add it soon.
See #29

@jin-s13 jin-s13 closed this as completed Jul 24, 2020
@jin-s13 jin-s13 added the status/duplicate issue/PR already exists label Jul 24, 2020
@gachiemchiep
Copy link
Author

@jin-s13 Thank you for your information.

@Xxxia96
Copy link

Xxxia96 commented Jul 24, 2020

Hello guys.
Thank you for your great contribution.

I tried some top-down method (model zoo by using the scripts inside mmpose/demo, and it works well.

Unfortunately, I can't run the bottom-up model yet.
Do you guys have any clue how to do this?

Thank you.

Hello, I want to know the test model that you used for mmpose/demo is the model downloaded from the model_zoo ? I download the model from the https://mmpose.readthedocs.io/en/latest/model_zoo.html , but some errors occur and I don't know why. @jin-s13 I will feel very grateful if you can help me.
python demo/img_demo.py \ configs/top_down/hrnet/coco/hrnet_w32_coco_256x192.py \ hrnet_w32_coco_256x192/hrnet_w32_coco_256x192-c78dce93_20200708.pth \ --img-root tests/data/ --json-file tests/data/test_coco.json \ --out-img-root demo/results
图片1

@gachiemchiep
Copy link
Author

@xuxixia
I used the video_demo_with_mmdet.py. Here're the commands.
I didn't meet any error similar to yours.

# pose_scnet_50
python demo/video_demo_with_mmdet.py     ../mmdetection/configs/ssd/ssd300_coco.py     ../checkpoints/mmdetection/ssd/ssd300_coco_20200307-a92d2092.pth     configs/top_down/scnet/coco/scnet50_coco_256x192.py     ../checkpoints/mmpose/top-down/scnet50_coco_256x192-6920f829_20200709.pth     --video-path ../../examples/girl_dancing_30secs.mp4  --show --out-video-root ./

# pose_hrnet_w32 256x192: .. 
python demo/video_demo_with_mmdet.py     ../mmdetection/configs/ssd/ssd300_coco.py     ../checkpoints/mmdetection/ssd/ssd300_coco_20200307-a92d2092.pth configs/top_down/hrnet/coco/hrnet_w32_coco_256x192.py     ../checkpoints/mmpose/top-down/hrnet_w32_coco_256x192-c78dce93_20200708.pth     --video-path ../../examples/girl_dancing_30secs.mp4  --show --out-video-root ./

# pose_resnet_50 256x192
python demo/video_demo_with_mmdet.py     ../mmdetection/configs/ssd/ssd300_coco.py     ../checkpoints/mmdetection/ssd/ssd300_coco_20200307-a92d2092.pth configs/top_down/resnet/coco/res50_coco_256x192.py     ../checkpoints/mmpose/top-down/res50_coco_256x192-ec54d7f3_20200709.pth      --video-path ../../examples/girl_dancing_30secs.mp4  --show --out-video-root ./

@Xxxia96
Copy link

Xxxia96 commented Jul 24, 2020

@xuxixia
I used the video_demo_with_mmdet.py. Here're the commands.
I didn't meet any error similar to yours.

# pose_scnet_50
python demo/video_demo_with_mmdet.py     ../mmdetection/configs/ssd/ssd300_coco.py     ../checkpoints/mmdetection/ssd/ssd300_coco_20200307-a92d2092.pth     configs/top_down/scnet/coco/scnet50_coco_256x192.py     ../checkpoints/mmpose/top-down/scnet50_coco_256x192-6920f829_20200709.pth     --video-path ../../examples/girl_dancing_30secs.mp4  --show --out-video-root ./

# pose_hrnet_w32 256x192: .. 
python demo/video_demo_with_mmdet.py     ../mmdetection/configs/ssd/ssd300_coco.py     ../checkpoints/mmdetection/ssd/ssd300_coco_20200307-a92d2092.pth configs/top_down/hrnet/coco/hrnet_w32_coco_256x192.py     ../checkpoints/mmpose/top-down/hrnet_w32_coco_256x192-c78dce93_20200708.pth     --video-path ../../examples/girl_dancing_30secs.mp4  --show --out-video-root ./

# pose_resnet_50 256x192
python demo/video_demo_with_mmdet.py     ../mmdetection/configs/ssd/ssd300_coco.py     ../checkpoints/mmdetection/ssd/ssd300_coco_20200307-a92d2092.pth configs/top_down/resnet/coco/res50_coco_256x192.py     ../checkpoints/mmpose/top-down/res50_coco_256x192-ec54d7f3_20200709.pth      --video-path ../../examples/girl_dancing_30secs.mp4  --show --out-video-root ./

Okay. Thanks for your reply. And I will check my code again and go to further find whether some details go wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate issue/PR already exists
Projects
None yet
Development

No branches or pull requests

3 participants