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

ValueError: setting an array element with a sequence #4

Closed GeorgianaPetria closed 7 years ago

GeorgianaPetria commented 7 years ago

I'm getting the following error when running with a particular frame from a video:

File "demo.py", line 149, in <module>
pose3D = poseLifting.compute_3d(pose2D, weights)
File "/home/ubuntu/projects/Lifting-from-the-Deep-release/utils/prob_model.py", line 231, in compute_3d
pose_3d = self.create_rec(norm_pose, weights)*_SCALE_3D
File "/home/ubuntu/projects/Lifting-from-the-Deep-release/utils/prob_model.py", line 191, in create_rec
depth_reg=0, cap_scale=-0.001, scale_mean=-0.003)
File "/home/ubuntu/projects/Lifting-from-the-Deep-release/utils/prob_model.py", line 154, in affine_estimate
interval=0.01, depth_reg=depth_reg, scale_prior=scale_mean)
File "upright_fast.pyx", line 76, in upright_fast.pick_e (upright_fast.cpp:4074)
File "upright_fast.pyx", line 263, in upright_fast.estimate_a_and_r_with_res_weights (upright_fast.cpp:8240)
ValueError: setting an array element with a sequence.

Any idea what might cause it?

DenisTome commented 7 years ago

Problem fixed in the last commit