Skip to content

Error in Conversion of GRAB data from SMPL-X to SMPL+H #3

Description

@shani1610

Hi,
While trying to run the conversion code i get the following error:
AttributeError: 'Struct' object has no attribute 'hands_componentsl'
Can you help me to solve it please?

more details:
I am using smplx 0.1.28 , omegaconf 2.3.0
I put the correspondences exactly the way you mention in transfer_data directory.
I'm running the main code from /object-popup/popup/utils/smplx2smplh
in this way:

python -m main -g ./../../../data/preprocessed/grab_smplh/ -s ./../../../data/body_models/smplx/models

the folder structures are as follow:

grab_smplh
├── grab
│   ├── s1
│   │   ├── airplane_fly_1.npz
│   │   ├── ...
│   ├── ...
│   ├── s10
├── tools
│   ├── object_meshes
│   │   ├── contact_meshes
│   │   │   ├── airplane.ply
│   │   │   ├── ...
│   ├── subject_meshes
│   ├── ...

for the models:

models
├── smpl
│   ├── SMPL_FEMALE.pkl
│   └── SMPL_MALE.pkl
│   └── SMPL_NEUTRAL.pkl
├── smplh
│   ├── SMPLH_FEMALE.pkl
│   └── SMPLH_MALE.pkl
├── mano
|   ├── MANO_RIGHT.pkl
|   └── MANO_LEFT.pkl
└── smplx
    ├── SMPLX_FEMALE.npz
    ├── SMPLX_FEMALE.pkl
    ├── SMPLX_MALE.npz
    ├── SMPLX_MALE.pkl
    ├── SMPLX_NEUTRAL.npz
    └── SMPLX_NEUTRAL.pkl

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions