zoukankan      html  css  js  c++  java
  • cafee编译错误几个总结

    1.
    CXX/LD -o .build_release/examples/siamese/convert_mnist_siamese_data.bin .build_release/lib/libcaffe.so: undefined reference to「boost::re_detail::raise_runtime_error(std::runtime_error const&)」 .build_release/lib/libcaffe.so: undefined reference to「boost::re_detail::put_mem_block(void*)」 .build_release/lib/libcaffe.so: undefined reference to「boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>, st d::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > > >::maybe_assign(boost::match_results<_ _gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const* , std::string> > > > const&)」

     答:在第263行左右添加 LIBRARIES += boost_thread stdc++ boost_regex

    2.

    Error parsing text-format caffe.NetParameter: 1177:17: Message type "caffe.LayerParameter" has no field named "permute_param".

    答:编译caffe的时候,应该先 git checkout ssd。 ->https://github.com/weiliu89/caffe/tree/ssd

    3.

    Caffe installation error with CUDNN V6.0 :

    /usr/local/cuda-8.0/include/cudnn.h:500:27: note: declared here
     cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                               ^
    Makefile:585: recipe for target '.build_release/src/caffe/data_transformer.o' failed
    make: *** [.build_release/src/caffe/data_transformer.o] Error 1


    答:You can use other caffe cudnn.hpp to replace current one.
    Using:
    cp /export/anshan/caffe/caffe-master/include/caffe/util/cudnn.hpp ./include/caffe/util/

  • 相关阅读:
    Linux下的压缩zip,解压缩unzip命令具体解释及实例
    编程验证哥德巴赫猜想
    HDU 4735 Little Wish~ lyrical step~(DLX , 反复覆盖)
    The 2013 South America/Brazil Regional Contest 题解
    【 D3.js 高级系列 — 2.0 】 捆图
    怎么让百度收录站点的图片呢?
    ios-UI1
    oc85--利用宏定义简化单例
    oc84--单利
    oc83--自定义类实现copy方法
  • 原文地址:https://www.cnblogs.com/huhuai/p/9459642.html
Copyright © 2011-2022 走看看