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

ZeroDivisionError #48

Open
CheungBH opened this issue Mar 4, 2021 · 2 comments
Open

ZeroDivisionError #48

CheungBH opened this issue Mar 4, 2021 · 2 comments

Comments

@CheungBH
Copy link

CheungBH commented Mar 4, 2021

Hello. Thanks for your excellent job. I can successfully in running the demo. But when I was running with another image, I found a ZeroDivisionError

Traceback (most recent call last):
File "/home/hkuit155/Documents/bottom_up/pytorch-openpose/pose_track_demo.py",
line 18, in a
candidate, subset = body_estimation(oriImg)
File "/home/hkuit155/Documents/bottom_up/pytorch-openpose/src/body.py",
line 131, in call
0.5 * oriImg.shape[0] / norm - 1, 0) ZeroDivisionError: float division by zero

@CheungBH
Copy link
Author

CheungBH commented Mar 4, 2021

Here's the image

ski

@Hzzone
Copy link
Owner

Hzzone commented Mar 23, 2021

This problem may be solved in the latest code by changing the norm to a small number.

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