1

我在 python 3 上安装了 Caffe 和 DIGITs,它似乎可以部分工作,但是我仍然收到关于版本 2.6.1 和 3.5 的 Protobuf 错误。

所以我重新安装Protobuf,然后重新安装Caffe。我有一个 Anaconda python3.6 环境,我正在Caffe那个环境中重新编译。在这cmake ..一步中,我看到检测到的 python 版本是 Python2.7 而不是 Python3——即使我在 conda python 3.6 环境中。甚至检测到的 numpy 版本也适用于 2.7:

Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.12", minimum required is "2.7") 
-- Found NumPy: /home/krishnab/.local/lib/python2.7/site-packages/numpy/core/include (found suitable version "1.11.0", minimum required is "1.7.1") 
-- NumPy ver. 1.11.0 found (include: /home/krishnab/.local/lib/python2.7/site-packages/numpy/core/include)

所以我真正的问题是 DIGITS 是否适用于 python 3 中的 Caffe?除了对问题的不透明引用外,我在文档中找不到任何明确的指示:

https://github.com/NVIDIA/DIGITS/issues/511

谁能澄清一下?

4

0 回答 0