mks0601/3DMPPE_POSENET_RELEASE

Resnet issue

akazakci opened this issue · 4 comments

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

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

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 :)

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

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?