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 133 forks source link

Unable to run it on low resolution iamge #8

Closed sebastian-0x0000ff closed 7 years ago

sebastian-0x0000ff commented 7 years ago

Hi,I try to run your demo on some low resolution person full body image(128*64) .it shows: File "demo.py", line 57, in sys.exit(main()) File "demo.py", line 32, in main pose_2d, visibility, pose_3d = pose_estimator.estimate(image) File "Lifting-from-the-Deep-release-master/graph_functions.py", line 136, in estimate pose_3d = self.poseLifting.compute_3d(transformed_pose2d, weights) File "Lifting-from-the-Deep-release-master/utils/prob_model.py", line 221, in compute_3d normpose, = Prob3dPose.normalise_data(reg_joints, weights) File "Lifting-from-the-Deep-release-master/utils/prob_model.py", line 95, in normalise_data d2 = d2.reshape(d2.shape[0], -1, 2).transpose(0, 2, 1) ValueError: cannot reshape array of size 0 into shape (0,newaxis,2)

is that means it did not get the keypoint?

DenisTome commented 7 years ago

it means that no person has been detected. By changing the threshold in the config.py file you can adapt the thresholds to your image.