高通Snpe SDK编译问题

weixin_38498942 2020-03-26 10:31:44
在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里面配置好了。
...全文
2105 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

2,853

社区成员

发帖
与我相关
我的任务
社区描述
本论坛以AI、WoS 、XR、IoT、Auto、生成式AI等核心板块组成,为开发者提供便捷及高效的学习和交流平台。 高通开发者专区主页:https://qualcomm.csdn.net/
人工智能物联网机器学习 技术论坛(原bbs) 北京·东城区
社区管理员
  • csdnsqst0050
  • chipseeker
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧