Open mahertelmoudi opened 6 years ago
@mahertelmoudi Did you add $CAFFE_ROOT/python
to your $PYTHONPATH
environment variable?
no how i can add it ?
[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 30/05/18 à 15:02:10
2018-05-30 11:59 GMT+01:00 fraukej notifications@github.com:
@mahertelmoudi https://github.com/mahertelmoudi Did you add $CAFFE_ROOT/python to your $PYTHONPATH environment variable?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chuanqi305/MobileNet-SSD/issues/94#issuecomment-393119621, or mute the thread https://github.com/notifications/unsubscribe-auth/ASwyS76sfOXJMl4bdVDPYKFaIHmtOsvSks5t3nuUgaJpZM4USXTF .
@mahertelmoudi
echo "export PYTHONPATH=/home/yaochuanqi/work/ssd/caffe/python:$PYTHONPATH" >> ~/.bashrc
source ~/.bashrc
and then check that it's correctly set by echo $PYTHONPATH
.
It should print (in your case)
/home/yaochuanqi/work/ssd/caffe/python:
... Did it work? @mahertelmoudi
I downloaded the provided models, but got the following error when running demo.py i changed caffe_root = '/home/yaochuanqi/work/ssd/caffe/' in the with path which my project is there but always i had that error (ImportError: No module named 'caffe') help me plz