DenisTome / Lifting-from-the-Deep-release

Implementation of "Lifting from the Deep: Convolutional 3D Pose Estimation from a Single Image"
https://denistome.github.io/papers/lifting-from-the-deep
GNU General Public License v3.0
450 stars 132 forks source link

There is an error when no people in the image #43

Closed Ferrnya closed 5 years ago

Ferrnya commented 5 years ago

Hello! I'm trying to change the code to realtime 3d estimation. And I found that if my camera catches no people in one frame, this code will have this error: ValueError: cannot reshape array of size 0 into shape (0,newaxis,2) I don't have methods to fix or pass it..... :( This code must guarantee some people in the image?