I have install JetPack3.3 for tx2,and install caffe follow this https://github.com/jetsonhacks/installCaffeJTX2, but I find a problem when I import caffe in python.
When I open terminal in home folder I can import caffe in python, but when I open terminal in other folders, I can not import caffe in python, it said no module named caffe. I do not understand that.
u have to export caffe to PATH environment :
export PYTHONPATH=/home/xxx/caffe/python:$PYTHONPATH
Hi,
You can also try to add the path information into your python script directly.
For example:
sys.path.insert(0, '[CAFFE_ROOT]/python')
import caffe
Thanks.
AastaLLL
1107145782
Thank you !!