使用sudo apt install caffe-cuda后导入caffe错误

问题描述 投票:1回答:1

如何在sudo apt install caffe-cudalink)之后在Ubuntu 18.04 LTS上导入Python 3中的caffe?

python python-3.x caffe
1个回答
0
投票

你可能没有在你的pythonpath中添加caffe。必要的命令是

 export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH 

你可以找到详细的信息here

© www.soinside.com 2019 - 2024. All rights reserved.