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
I am trying to implement this on colab. I am getting this error when I am trying it on my own image. I already created the folder for images and keypoints. And I manually provided the image and the son file for that image in the directory as suggested.
File "/content/smplify-x/smplifyx/fit_single_frame.py", line 188, in fit_single_frame
vposer, _ = load_vposer(vposer_ckpt, vp_model='snapshot')
File "/usr/local/lib/python3.6/dist-packages/human_body_prior/tools/model_loader.py", line 56, in load_vposer
ps, trained_model_fname = expid2model(expr_dir)
File "/usr/local/lib/python3.6/dist-packages/human_body_prior/tools/model_loader.py", line 31, in expid2model
best_model_fname = sorted(glob.glob(os.path.join(expr_dir, 'snapshots', '*.pt')), key=os.path.getmtime)[-1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
The error happens when it tries to load the .pt snapshot. This points to wrong setup (potentially deviating accidentally from the read_me file) or running the call function from the wrong path. In case you carefully followed the read_me, the latter one seems to be the most probably cause.
Based on the other questions in the SMPLify-X repo it could be that this issue is already resolved? If yes, could you please close the issue? :)
I am trying to implement this on colab. I am getting this error when I am trying it on my own image. I already created the folder for images and keypoints. And I manually provided the image and the son file for that image in the directory as suggested.
File "/content/smplify-x/smplifyx/fit_single_frame.py", line 188, in fit_single_frame
vposer, _ = load_vposer(vposer_ckpt, vp_model='snapshot')
File "/usr/local/lib/python3.6/dist-packages/human_body_prior/tools/model_loader.py", line 56, in load_vposer
ps, trained_model_fname = expid2model(expr_dir)
File "/usr/local/lib/python3.6/dist-packages/human_body_prior/tools/model_loader.py", line 31, in expid2model
best_model_fname = sorted(glob.glob(os.path.join(expr_dir, 'snapshots', '*.pt')), key=os.path.getmtime)[-1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: