caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"
https://caizhongang.github.io/projects/SMPLer-X/
Other
1.01k stars 73 forks source link

Could find no file with path '../demo/results/walking/img/%06d.jpg' and index in the range 0-4 #46

Closed Soyoline closed 9 months ago

Soyoline commented 9 months ago

When I try to inference, it shows these errors. Can someone tell me why and how to deal with it? image

Soyoline commented 9 months ago

By using the pipeline here, it shows that: OSError: Failed to read input.png/000001.png. Seems this is why my inference fail. How can I deal with this problem? https://github.com/caizhongang/SMPLer-X/issues/22#issuecomment-1789266037 Here comes the logs image

Wei-Chen-hub commented 9 months ago

Seems you are trying to inference on a single image, please restructure it like a video. (with only 1 frame)

i.e. input.png -> input/000001.jpg

Then use ".../input" as the input arg.

P.S. Performance won't be impacted by an image format change.

Soyoline commented 9 months ago

Seems you are trying to inference on a single image, please restructure it like a video. (with only 1 frame)

i.e. input.png -> input/000001.jpg

Then use ".../input" as the input arg.

P.S. Performance won't be impacted by an image format change.

thanks, I have successfully inferenced. Appreciate for your helping.