Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Struct' object has no attribute 'hands_componentsl' #8

Open
2003fjh opened this issue Sep 19, 2024 · 2 comments
Open

Comments

@2003fjh
Copy link

2003fjh commented Sep 19, 2024

运行:python uhc/data_process/process_amass_db.py

uhc/data_process/process_amass_db.py
326: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(osp.exists(db_dataset), "AMASS DB not found")
******* Reading AMASS Class Data, Single Instance! ***********
sample_data/amass_copycat_take5_test_small.pkl
100%|██████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 33367.57it/s]
Removed Keys: []
Dataset Root: sample_data/amass_copycat_take5_test_small.pkl
Dataset Num Sequences: 10
Traj Dimsnion: 104
Data mode: all
Adaptive_iter 200
T Max: 300
T Min: 15
******* Finished AMASS Class Data ***********
Traceback (most recent call last):
File "uhc/data_process/process_amass_db.py", line 337, in
smpl_parser_n = SMPLH_Parser(model_path="data/smpl", gender="neutral", use_pca=False, create_transl=False)
File "/data2/2024/fjh/EmbodiedPose/UniversalHumanoidController/uhc/smpllib/smpl_parser.py", line 466, in init
super(SMPLH_Parser, self).init(*args, **kwargs)
File "/data1/miniconda3/envs/embodiedpose/lib/python3.8/site-packages/smplx/body_models.py", line 643, in init
left_hand_components = data_struct.hands_componentsl[:num_pca_comps]
AttributeError: 'Struct' object has no attribute 'hands_componentsl'
Sorry, I don't know what cause this problem, can you give me some suggestions to fix it up? Thank you a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@2003fjh and others