Jeff-sjtu / HybrIK

Official code of "HybrIK: A Hybrid Analytical-Neural Inverse Kinematics Solution for 3D Human Pose and Shape Estimation", CVPR 2021
MIT License
1.21k stars 147 forks source link

Blender addon not working without camera _prediction #134

Closed oscarfossey closed 1 year ago

oscarfossey commented 1 year ago

Thanks for the great repo! Importing a non-empty pickle in blender with the add on result into a static animation with only the root animated and fixed at zero. KeyError: 'bpy_prop_collection[key]: key "Camera" not found'

How to import a pickle that does not have camera prediction?

Jeff-sjtu commented 1 year ago

Hi @oscarfossey, which version of blender are you using?

oscarfossey commented 1 year ago

Hi, I changed the addon a little bit by comenting the part which deals with the key "Camera" of the .plk and could run the addon which worked directly. My version of the HybrIk model did not have Camera estimation I think.

Thanks again.

oscarfossey commented 1 year ago

" My version of the HybrIk model did not have Camera estimation I think." It has nothing to do with camera estimation just that the addon want to place a blender camera oriented at the animation. You just have to ensure that a camera is in the blender scene when you importing with the addon.