MotionGPT icon indicating copy to clipboard operation
MotionGPT copied to clipboard

ValueError: Unknown model type , exiting! (I can't Create SMPL meshes) (Solved)

Open MingCongSu opened this issue 1 year ago • 3 comments

Thanks for the amazing work.

When running python -m fit --dir YOUR_NPY_FOLDER --save_folder TEMP_PLY_FOLDER --cuda to Create SMPL meshes, I met this error.

Did anyone encounter this problem in the visualization process? Any discussion is appreciated.

MingCongSu avatar Jan 17 '24 17:01 MingCongSu

For everyone who meets this problem, I solve this by modifying the SMPL_MODEL_DIR in config as it's imported in fit.py

mgpt/data/transforms/joints2rots/config.py line 115: image

MingCongSu avatar Jan 18 '24 07:01 MingCongSu

so what did you modified?like change what into what?QAQ

For everyone who meets this problem, I solve this by modifying the SMPL_MODEL_DIR in config as it's imported in fit.py

mgpt/data/transforms/joints2rots/config.py line 115: image

Gelercatty avatar Jan 20 '24 18:01 Gelercatty

Change the highlighted line into the correct path in your project directory.

For example, changing line 115 into SMPL_MODEL_DIR = "./deps/smpl_models" works for me.

MingCongSu avatar Jan 20 '24 19:01 MingCongSu