ValueError: Unknown model type models, exiting!
elizabethjcobs opened this issue · comments
Hi there, I've been having some issues with getting smplify-x to run and would appreciate any advice on the matter. The only other thread I've come across suggested installing and unpacking smplx in the right folders for neutral, male and female models, which I've done under smplify-x/data/models.
When I attempt to run:
(tf) elizabeth@mili:~/smplify-x$ python smplifyx/main.py --config cfg_files/fit_smpl.yaml
Traceback (most recent call last):
File "/home/elizabeth/smplify-x/smplifyx/main.py", line 272, in
main(**args)
File "/home/elizabeth/smplify-x/smplifyx/main.py", line 117, in main
male_model = smplx.create(gender='male', **model_params)
File "/home/elizabeth/miniconda3/envs/tf/lib/python3.9/site-packages/smplx/body_models.py", line 2410, in create
raise ValueError(f'Unknown model type {model_type}, exiting!')
ValueError: Unknown model type models, exiting!
Another error I've gotten is when I try the command:
(tf) elizabeth@mili:~/smplify-x$ python smplifyx/main.py --config cfg_files/fit_smplx.yaml --data_folder DATA_FOLDER --output_folder OUTPUT_FOLDER --model_folder MODEL_FOLDER --vposer_ckpt VPOSER_FOLDER --part_segm_fn smplx_parts_segm.pkl
Traceback (most recent call last):
File "/home/elizabeth/smplify-x/smplifyx/main.py", line 272, in
main(**args)
File "/home/elizabeth/smplify-x/smplifyx/main.py", line 84, in main
dataset_obj = create_dataset(img_folder=img_folder, **args)
File "/home/elizabeth/smplify-x/smplifyx/data_parser.py", line 47, in create_dataset
return OpenPose(data_folder, **kwargs)
File "/home/elizabeth/smplify-x/smplifyx/data_parser.py", line 136, in init
for img_fn in os.listdir(self.img_folder)
FileNotFoundError: [Errno 2] No such file or directory: 'DATA_FOLDER/images'
Thank you for your time & I'd greatly appreciate any help I could receive on this matter!
hello, I am facing the same issue, were you able to resolve it?