美文网首页我爱编程
caffe2 配置debug

caffe2 配置debug

作者: AAAAAAIIIIII | 来源:发表于2018-02-06 10:28 被阅读0次

Q: build_python: off

A: cmake -D CUDA_USE_STATIC_CUDA_RUNTIME=OFF -D PYTHON_LIBRARY=/home/xzhao/local/anaconda/lib/python2.7/config/libpython2.7.a -D PYTHON_INCLUDE_DIR=/home/xzhao/local/anaconda/include/python2.7/ ..

Q: cannot find -lopencv_dep_cudart

A:I have the same error. Did you just add it to cmake like this

          -D CUDA_USE_STATIC_CUDA_RUNTIME=OFF

Q: save model的时候,ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

S: 升级numpy version 1.13 and yaml version 3.12.

相关文章

网友评论

    本文标题:caffe2 配置debug

    本文链接:https://www.haomeiwen.com/subject/sqzwzxtx.html