You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to train GNet with the following command: python train/GNet_train.py --work-dir path/to/work/dir --grab-path /path/to/GRAB --smplx-path /path/to/models/ --expr-id EXPERIMENT_ID
I encountered an error below: TypeError: 'SMPLXLayer' object does not support item assignment
There are 4 lines causing such error, which are: self.female_model['v_template'] = v_template[females] at line 397 in GNet_train.py self.male_model['v_template'] = v_template[males] at line 423 self.female_model['v_template'] = v_template[females] at line 565 self.male_model['v_template'] = v_template[males] at line 571
After checking the source code of smplx, I made a substitution and figured out this bug: ['v_template'] -> .v_template
Is it a right correction or there are something else I missed?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi Otaheri,
when trying to train GNet with the following command:
python train/GNet_train.py --work-dir path/to/work/dir --grab-path /path/to/GRAB --smplx-path /path/to/models/ --expr-id EXPERIMENT_ID
I encountered an error below:
TypeError: 'SMPLXLayer' object does not support item assignment
There are 4 lines causing such error, which are:
self.female_model['v_template'] = v_template[females]
at line 397 in GNet_train.pyself.male_model['v_template'] = v_template[males]
at line 423self.female_model['v_template'] = v_template[females]
at line 565self.male_model['v_template'] = v_template[males]
at line 571After checking the source code of smplx, I made a substitution and figured out this bug:
['v_template'] -> .v_template
Is it a right correction or there are something else I missed?
Thanks!
The text was updated successfully, but these errors were encountered: