mks0601 / 3DMPPE_POSENET_RELEASE

Official PyTorch implementation of "Camera Distance-aware Top-down Approach for 3D Multi-person Pose Estimation from a Single RGB Image", ICCV 2019
MIT License
807 stars 147 forks source link

Resnet issue #94

Open akazakci opened 3 years ago

akazakci commented 3 years ago

Hi, Thank you for the terrific work and sharing it.

I've tried to run it but running python3 demo.py gives me the following error:

from nets.resnet import ResNetBackbone

ModuleNotFoundError: No module named 'nets.resnet'

More generally, I would appreciate a short guideline about how to setup the code (installation / dependencies).

Thank you

mks0601 commented 3 years ago

Set your current directory to demo folder and run python3 demo.py. In other word, cd demo and python3 demo.py.

akazakci commented 3 years ago

Hi, I was in /demo when I ran python3 demo.py.

When I look at the directory structure, I see /common/nets/resnet.py. But the import does not seem to work.

File "../main/model.py", line 4, in from nets.resnet import ResNetBackbone ModuleNotFoundError: no module named 'nets.resnet'

Thanks for your help :)

mks0601 commented 3 years ago

Hmm.. It works well with me This line imports common folder. Did you delete this line?

akazakci commented 3 years ago

Hi and thanks again :)

Haven't touch the code. Just copied it then ran the demo.

Can you maybe specify a requirements.txt file and I can create a specific environment to run this?