EasyMocap
EasyMocap copied to clipboard
KeyError: 'num_pca_comps' in MANO reconstruction
I'm following the steps in quickstart demo here, and got an error in step 2.3 MANO reconstruction for both hands.
Any idea on how to solve this? Thanks!
P.S. I'm running on Windows with Python 3.6.13 in a conda environment.
I had the same question.
Same with you, did you figure it out?
body_model.py 177-179:
# self.num_pca_comps = kwargs['num_pca_comps']
# self.use_pca = kwargs['use_pca']
# self.use_flat_mean = kwargs['use_flat_mean']
self.num_pca_comps = 6
self.use_pca = True
self.use_flat_mean = True
you can add code in config/vis3d/o3d_scene_manol.yml 12-15
body_model:
module: "easymocap.smplmodel.body_model.SMPLlayer"
args:
_no_merge_: True
model_path: "data/smplx/smplh/MANO_LEFT.pkl"
model_type: "mano"
gender: "neutral"
device: "cuda"
regressor_path: "data/smplx/J_regressor_mano_LEFT.txt"
# add
num_pca_comps: 6
use_pca: True
use_flat_mean: True