我通过“Prebuilt Caffe2 Python Wheel”安装了 caffe2,没有出现错误。但是运行第一个示例时,我收到以下错误消息,似乎无法找到/加载“/usr/local/opt/glog/lib/libglog.0.dylib”。
如果我导入 caffe2.python 它不会给我一个错误。usr/local/opt 中缺少 glog。
这是 Mac GPU 问题吗?我知道 CUDA 是个问题/不能在 Mac 上运行,或者还有什么我错过的/我必须做的。?
谢谢你的帮助。
WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.
WARNING:root:Debug message: No module named caffe2_pybind11_state_gpu
CRITICAL:root:Cannot load caffe2.python. Error: dlopen(/usr/local/lib/python2.7/site-packages/caffe2/python/caffe2_pybind11_state.so, 10): Library not loaded: /usr/local/opt/glog/lib/libglog.0.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/caffe2/python/caffe2_pybind11_state.so
Reason: image not found