pytorch-openpose
pytorch-openpose copied to clipboard
ZeroDivisionError
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
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
Here's the image
This problem may be solved in the latest code by changing the norm to a small number.