高通Snpe SDK编译问题
在caffe环境配置好之后,进入SDK并source caffe,执行:python ./models/alexnet/scripts/setup_alexnet.py -a ./temp-assets-cache -d
结果报错:
deploy.prototxt - https://raw.githubusercontent.com/BVLC/caffe/master/models/bvlc_alexnet/deploy.prototxt
bvlc_alexnet.caffemodel - http://dl.caffe.berkeleyvision.org/bvlc_alexnet.caffemodel
caffe_ilsvrc12.tar.gz - http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
Please point the environment variable $ALEXNET_DATA_DIR to a directory containing the following files.
Downloading deploy.prototxt...
Downloading dbvlc_alexnet.caffemodel...
Downloading caffe_ilsvrc12.tar.gz...
Copying Caffe model
Modiying prototxt to use a batch size of 1
Creating DLC
Failed to find necessary package:
No module named 'libDlModelToolsPy3'
Please ensure that $SNPE_ROOT/lib/python is in your PYTHONPATH
Getting imagenet aux data
Creating ilsvrc_2012_mean.npy
ERROR: module 'caffe' has no attribute 'proto'
这是哪里问题呀, PYTHONPATH环境变量也在.bashrc里面配置好了。