caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"

Home Page:https://caizhongang.github.io/projects/SMPLer-X/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colab error: "Could find no file with path '/content/SMPLer-X/demo/results/test_video/img/%06d.jpg' and index in the range 0-4"

mmmmmminChi opened this issue · comments

Hi, found some issue while using the colab of this project. Did anyone have same issue before? Thanks for every replies.
Screenshot from 2024-03-11 01-06-38

Hi, thanks for your interest in our project.

The actual error message seems to be the numpy import error. The former process failed, therefore no output is generated, at the end ffmpeg is not finding the expected input.

For this numpy error, please considered downgrade numpy to 1.23.x. Newer numpy (1.26.x) has removed these data types as they are defined in newer python (like python 3.10, 3.11)

Hope this helps.

Uploading Screenshot from 2024-04-11 02-47-22.png…
@Wei-Chen-hub sorry to bother again.

After I downgraded my numpy to 1.23.3, the same problem occurred.
Should I give you the pipdeptree or any informations that could let you know about my environment setup?

Thanks again!

Not very sure with colab settings, if you are only interested with inference, could you try to switch to "huggingface" branch, which is also based on python 3.10? The main branch is based on python 3.8, there might be other problems which is not easy to identify.

Noticed another user has a colab install script, maybe you can follow his setting, please see #47

The colab one shows this error down below while I downgraded python version to 3.8. It seems like numpy is not detected, but I have installed numpy==1.24.1 in this colab project.
Screenshot from 2024-04-12 09-47-11

And now I'm trying to use the same setting on my local computer with cuda version is 12.1.
Here is the error report, not sure how could I make it right.
Screenshot from 2024-04-12 09-13-48

@Wei-Chen-hub Hi, I have tried the huggingface branch in colab (with the link in #47) and it shows up like this:
#47 (comment)

Not sure what’s going on here :(