facebookresearch / pifuhd

High-Resolution 3D Human Digitization from A Single Image.
Other
9.49k stars 1.44k forks source link

Trying to run demo.sh get error no module named apps #124

Open Dan201210 opened 3 years ago

Dan201210 commented 3 years ago

followed the installation instructions and tried to test by running the demo. Im in the pifuhd-master directory when i run "sh ./scripts/demo.sh" and i get no module named apps error.

yratof commented 3 years ago

ditto

manncodes commented 3 years ago

can you provide steps to recreate this error?

yratof commented 3 years ago

I have a brand new MacBook, installed as the readme states. When running the demo, this error is shown immediately.

Will try on a fresh VM, maybe it’s related to python version

On 4 Jun 2021, at 19:04, Mann Patel @.***> wrote:

 can you provide steps to recreate this error?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

manncodes commented 3 years ago

Yes! The behavior of '-m' flag in

python -m apps.simple_test

depends on python version, especially Py=2.4 v/s Py=3.x

Dan201210 commented 3 years ago

ya I did get it to work, if I remember properly it was the python version that messed it up.

JanHorcicka commented 2 years ago

I tried changing removing the -m flag and changing python to python3 but I still get the same error. Can somebody help?

kulendu commented 1 year ago

For me sh ./scripts/demo.sh didn't work, however changing it to python3 -m apps.simple_test worked.