OpenMotionLab / MotionGPT

[NeurIPS 2023] MotionGPT: Human Motion as a Foreign Language, a unified motion-language generation model using LLMs
https://motion-gpt.github.io
MIT License
1.38k stars 85 forks source link

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

Open MingCongSu opened 6 months ago

MingCongSu commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

MingCongSu commented 6 months ago

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.