bearpaw / pytorch-pose

A PyTorch toolkit for 2D Human Pose Estimation.
GNU General Public License v3.0
1.1k stars 250 forks source link

ModuleNotFoundError: No module named 'progress' #62

Closed shayxurui closed 5 years ago

shayxurui commented 5 years ago

when i train the net ,there are some error, Traceback (most recent call last): File "example/mpii.py", line 14, in from pose import Bar File "/mnt/md0/xur/HumanPose/pytorch-pose/pose/init.py", line 10, in from progress.bar import Bar as Bar

bearpaw commented 5 years ago

Add the following command to your bashrc:

export PYTHONPATH=".:$PYTHONPATH"
shayxurui commented 5 years ago

thanks for your reply,but i try this ,but still doesnot work

bearpaw commented 5 years ago

After saving the bashrc file, run source ~/.bashrc, or open a new terminal before training the network.

seongkyun commented 5 years ago

Nope @bearpaw . I think that is not a correct answer. After cloning this repository, then you should copy other submodules to run this code. Type git submodule update --init --recursive in copied directory on your computer. After that, you can run this code.

git clone some_address cannot copy all the submodules at a once. This is the correct answer.