Caffe安装中多版本protobuf选择问题
来源:互联网 发布:怎样淘宝网购详细步骤 编辑:程序博客网 时间:2024/05/18 02:45
在ubuntu下安装caffe时,使用make all命令后,经常会报出protobuf版本冲突的问题,如下:
In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:0:.build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is #error This file was generated by a newer version of protoc which is ^.build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update #error incompatible with your Protocol Buffer headers. Please update ^.build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers. #error your headers. ^ ...
这个问题的出现是因为我们在安装caffe之前,安装Anaconda或tensorflow时都已经安装过libprotobuf,所以解决冲突的方法是使用以下命令:
conda uninstall libprotobuf
即可解决。
该解决方案来源于https://stackoverflow.com/questions/36678292/caffe-error-with-protobuf-version
阅读全文
0 0
- Caffe安装中多版本protobuf选择问题
- Caffe安装中多版本protoc选择问题
- Caffe安装中多版本protoc选择问题
- CAFFE中 安装google protobuf
- caffe安装过程中与protobuf相关的问题
- Protobuf java版本安装步骤
- 编译caffe的一个protobuf问题
- ubuntu16.04配置caffe出现protobuf问题
- ubuntu14.04下caffe protobuf问题的解决和安装方式
- caffe安装吐血总结 opencv的问题,ubuntu版本问题
- protobuf安装中遇到的问题及解决方案
- ubuntu 16.04 安装caffe GPU版本时遇到的问题
- [caffe]安装中遇到的问题
- 如何编译安装protobuf极其python版本
- Caffe 安装 指定protoc版本
- SSD(old)版本caffe安装在已安装新版本caffe的服务器,出现的问题及解决方案
- Caffe安装问题汇总
- Caffe安装问题汇总
- IEEE和SCI等的通俗简介
- 【工业智能】工业智能的正确打开方式-用技术的创新做服务的价值
- Hibernate之环境搭建及demo
- 在MySQL中执行脚本根据MySQL表生成hive建表语句
- 【工业智能】天泽智云揭秘:人工智能如何打造“无忧风场”
- Caffe安装中多版本protobuf选择问题
- 大型网站技术架构(七)——网站的可扩展性架构
- ligerui编辑
- TCP/IP入门笔记2
- echarts 自定义主题
- 关于Spring Tool Suite(STS)、eclipse的代码编辑缩进线(Indent Guide)
- Spark on yarn的内存分配问题
- Spring Cloud分布式微服务云架构集成项目
- 自顶向下,逐步求精