CPU mode gives wrong 3D pose results
handsomeyang opened this issue · 18 comments
I think it's not related to cpu or gpu, but there's some problem in 3d pose now.
Has anyone traced the cause of the error?
I am taking same results. Has anyone solved this problem ?
@timctho I think there is some problem in 2d pose results. Joints are not in true localizations.
can any one send me the VNect model file? Thanks!
@timctho How can I get the models/weights/vnect_tf file?
Mabe, it just missed the step of "Kinematic Skeleton Fiting”
@Superlee506 can you tell me more about "Kinematic Skeleton Fiting”? Is it wrote in the paper?
3d pose is also a problem, i test some but cant get a good result, anybody has good idea?
there is a mistake in utils/utils.py
in def extract_3d_joints_from_heatmap x and y is mixed up (line 80 and 81). it should be
coord_2d_x = joints_2d[joint_num][0]
coord_2d_y = joints_2d[joint_num][1]
After fixing that the 3D plot looks fine (although the axes are messed up)
Well not even your 2D pose is correct and it should be working if you checkout the current repository.
Are sure you changed the correct lines of code?
@cDenius
I had tried this code with these follows.
- Download weights from the author of paper
- change weights with using './caffe_weight_to_pickle.py'
- run '/models/vnect_model.py' to get
vnect_tf.data-00000-of-00001
vnect_tf.index
vnect_tf.meta
- change the code
coord_2d_x = joints_2d[joint_num][0]
coord_2d_y = joints_2d[joint_num][1]
- run '/demo_tf.py'
If you can share your parameters, could you send it to my e-mail?
That is weird. If you don't change the two lines of code do you get the same results as the OP?
I get the desired output without doing or changing anything else besides the 5 steps you have described.
@cDenius
So do you have tensorflow weights without conversion??
Where did you get that weights?
i mean vnect_tf~ files
@lavage
I can reproduce your results by following your procedures, but it seems like the z coordinates of 3d joint points are incorrect.
Have you observed any similar situations?
Thanks.
@zeroHuang0516
That is what I meant with the scaling issue, you just defined it a bit better ;). Unless you are having different z coordinate issues than shown in my picture above?
As the overall body composition looks ok, it wouldn't be too difficult to normalize the z coordinates however.