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

Bottom-up CrowdPose demo error #646

Closed
carollowbee opened this issue May 14, 2021 · 6 comments
Closed

Bottom-up CrowdPose demo error #646

carollowbee opened this issue May 14, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@carollowbee
Copy link

Hi! I got an error when i run like this:
python demo/bottom_up_video_demo.py configs/bottom_up/higherhrnet/crowdpose/higher_hrnet32_crowdpose_512x512.py checkpoints/higher_hrnet32_crowdpose_512x512-1aa4a132_20201017.pth --video-path data/crowdpose/videos/1.mp4 --out-video-root vis_results

the error is like that:
RuntimeError: CUDA error: device-side assert triggered
terminate called after throwing an instance of 'c10::Error'
what(): CUDA error: device-side assert triggered

But when I run with coco py and pth, it's good.
So where's the problem, can you help me?

@innerlee
Copy link
Contributor

The error is likely to be caused by out of range class indices.

@innerlee
Copy link
Contributor

innerlee commented May 14, 2021

$ python demo/bottom_up_video_demo.py configs/bottom_up/higherhrnet/crowdpose/higher_hrnet32_crowdpose_512x512.py https://download.openmmlab.com/mmpose/bottom_up/higher_hrnet32_crowdpose_512x512-1aa4a132_20201017.pth --video-path data/crowdpose/videos/1.mp4 --out-video-root vis_results
Use load_from_http loader
Traceback (most recent call last):
  File "demo/bottom_up_video_demo.py", line 108, in <module>
    main()
  File "demo/bottom_up_video_demo.py", line 45, in main
    assert (dataset == 'BottomUpCocoDataset')
AssertionError

Did you modified the code? You should get an assertion error

@innerlee innerlee changed the title HigherHRNet(CrowdPose) demo error Bottom-up CrowdPose demo error May 14, 2021
@carollowbee
Copy link
Author

carollowbee commented May 14, 2021

Yes,I just modified it here and there is no modification elsewhere.I didn't modify the other code and model, I used the code you provided directly, so I don't know how to revision the error class indices

@innerlee
Copy link
Contributor

@jin-s13 I guess we haven't supportted the bot-up crowd-pose demo?

@innerlee innerlee added the enhancement New feature or request label May 14, 2021
@carollowbee
Copy link
Author

Well, I'm looking forward to your release

@jin-s13
Copy link
Collaborator

jin-s13 commented Jul 22, 2021

This will be fixed in #663

@jin-s13 jin-s13 closed this as completed Dec 7, 2021
HAOCHENYE pushed a commit to HAOCHENYE/mmpose that referenced this issue Jun 27, 2023
* adjust docs structure

* en caption rename

* Update docs/en/index.rst

Co-authored-by: Zaida Zhou <[email protected]>

* Update docs/en/index.rst

Co-authored-by: Zaida Zhou <[email protected]>

* Update docs/zh_cn/index.rst

Co-authored-by: Zaida Zhou <[email protected]>

Co-authored-by: Zaida Zhou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants