I'm trying to run the demo of py-faster-rcnn
based on this GitHub page.
I have done all the previous steps. But When I try to run the demo with python ./tools/demo.py --gpu 0 --net vgg16
I get this error:
Traceback (most recent call last):
File "./tools/demo.py", line 17, in
from fast_rcnn.config import cfg
File "/home/hadi/Software/py-faster-rcnn/tools/../lib/fast_rcnn/config.py", line 23, in
from easydict import EasyDict as edict
ImportError: No module named easydict
I have installed easydict with both of these commands:
sudo pip install easydict
pip install easydict
Is this related to python path? I have installed both python 2.7 and 3.5. Since then I get all these python related errors. For example I have installed tensorflow
for both python 2 and 3. But with python 2 it always says:
No module named tensorflow
How can I fix this?
OS: Ubuntu 16.04
which pip
?which pip
is : /usr/local/bin/pip. I think when I usepip
orpip3
the modules are installed in python 3 both times. They aren't installed in python 2.7./usr/local/bin/pip --version
?pip3 install easydict
is : Requirement already satisfied: easydict in /usr/local/lib/python3.5/dist-packages