caffe bug notes
来源:互联网 发布:post请求返回json数据 编辑:程序博客网 时间:2024/06/05 01:53
1 . 点击打开链接python caffe报错:No module named google.protobuf.internal
2 . #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers. Please regenerate this file with a newer version of protoc.
reason: two or more versions have been installed, remove old version, keep python(anaconda2) and sys's version same.
solution: http://blog.csdn.net/liuxin2012a/article/details/54178141
http://www.linuxdiyf.com/linux/23425.html
http://blog.csdn.net/ahbbshenfeng/article/details/52065676
3. .
build_debug/lib/libcaffe.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/convert_imageset.bin] 错误 1make: *** 正在等待未完成的任务.....build_debug/lib/libcaffe.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/compute_image_mean.bin] 错误 1.build_debug/lib/libcaffe.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/upgrade_net_proto_text.bin] 错误 1.build_debug/lib/libcaffe.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/upgrade_net_proto_binary.bin] 错误 1
At the beginning, my system is install the version g++-4.8 and gcc-4.8, in order to build matlab wrapper, I degrade them to g++-4.7 and gcc-4.7
But, I failed, then I awared that I made a mistake until I want to uninstalled old version of g++ and gcc
------------------------I upgraded g++ and gcc to the version of 4.9, so foolish! So maybe that's the reason for that error.
a specific expression is cuda and other software are built with g++4.8 , while caffe is built with g++4-9. Different versions make conflict.
so I uninstalled g++-4.9, preserved original version for ubuntu14.04 ---------- g++-4.8
make caffe
other errors:
/usr/lib/libprotobuf.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/convert_imageset.bin] 错误 1make: *** 正在等待未完成的任务..../usr/lib/libprotobuf.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/compute_image_mean.bin] 错误 1/usr/lib/libprotobuf.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/upgrade_net_proto_text.bin] 错误 1/usr/lib/libprotobuf.so:对‘std::__throw_out_of_range_fmt(char const*, ...)’未定义的引用collect2: error: ld returned 1 exit statusmake: *** [.build_debug/tools/upgrade_net_proto_binary.bin] 错误 1
similar to the former one. but not! We can see it is caused by protobuf. so I reinstall this software(I build it by myself). re-build caffe
sudo make all -j4
finally succeed!
- caffe bug notes
- Caffe Notes: Caffe.cpp
- Notes on Caffe layers
- Caffe bug fixing List
- caffe 编译相关bug
- caffe 安装bug
- Caffe编译Bug
- 21天实战caffe: study notes 1
- Notes for caffe (2) py-caffe的重要接口备忘
- caffe运行时的bug
- caffe-ssd bug 解决日志
- Notes for caffe (1) 命令参数和使用方法
- Notes
- notes
- Notes
- notes
- notes
- notes
- PAT1002-A+B for Polynomials
- [acm/icpc2016ChinaFinal][CodeforcesGym101194] Mr. Panda and Fantastic Beasts 后缀自动机
- Gzip压缩和解压缩以及assets目录文件的拷贝
- OC中的self和super
- 给Eclipse提速的7个技巧
- caffe bug notes
- java之happen before relationship 学习篇
- Nodejs异步回调的优雅处理方法
- poj2234 Matches Game博弈论
- Unity&Shader基础篇-绘制网格+圆盘
- docker删除images
- HDU 5586 Sum (最大连续子段和)
- IntelliJ IDEA导航特性Top20
- 文章标题