Comments (6)
build-protobuf-3.1.0.sh脚本里面function build-Android 里面缺少了个cd ..造成cmake路径不对,还有这个软连接不对,文件夹名字错了,正确的是ln -sf ../../Linux-protobuf/bin/protoc protoc
from caffe-mobile.
@ChangyeGuo 把 prototxt 文件作为附件上传上来吧,我试着看下。
from caffe-mobile.
@solrex 附件没法上传,我分享到了百度网盘了。麻烦看一下。
链接:http://pan.baidu.com/s/1c2zRuy0 密码:mhd0
from caffe-mobile.
@ChangyeGuo 抱歉,我当初只关注了 layer_factory.cpp 里列出的 layer,遗漏了一些 resnet 依赖的 layer。我已补充这些 layer 326fe37 ,自测是没问题了,麻烦更新代码再试一下。
from caffe-mobile.
@solrex resnet已经能读取,谢谢。
现更新最新的repo后,编译时发生错误。信息如下:
make[1]: Leaving directory `/home/guocy/caffe-mobile-511/third_party/OpenBLAS-0.2.19'
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:99 (message):
Could not find toolchain file:
../third_party/android-cmake/android.toolchain.cmake
Call Stack (most recent call first):
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: /home/guocy/caffe-mobile-511/build_armeabi/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: /home/guocy/caffe-mobile-511/build_armeabi/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
问题分析:初步分析应该是build-protobuf-3.1.0.sh的136行:
ln -sf ../../protobuf-Linux/bin/protoc protoc 没有软链接成功。我把这一句comment,再把/Linux-protobuf/bin/protoc拷贝到android-protobuf文件夹下,然后就可以编译了。
请修复。
BEST LUCK!!!
from caffe-mobile.
Fixed in ca1ac2c
from caffe-mobile.
Related Issues (20)
- 定制版caffe HOT 4
- Mac系统下编译.build_android.sh问题 HOT 1
- I replaced a new test_image but the result is still 8? Does it really work? HOT 2
- 能提供下net.protobin的原文件net.prototxt HOT 1
- 请问加载forward模型占用的内存可以释放掉吗 HOT 5
- Errors in building for android: <stdio.h> not found and openBlas failed to compile HOT 6
- 编译失败 HOT 1
- Is SSD model supported? HOT 2
- How to build caffe.so? HOT 4
- compile libcaffe-jni.so issue HOT 1
- Failed to parse NetParameter file: /storage/emulated/0/lenet.protobin HOT 2
- ./tools/build_android.sh HOT 3
- protobin to prototxt HOT 1
- can not resolve protobin? HOT 2
- use protobin and caffemodel to inference, the inference result is not what i want? HOT 1
- ./build-openblas.sh: line 127: make: command not found HOT 1
- Porting network caffe on mobile caffe.
- caffe simple has been stoped HOT 3
- Faster-R-CNN with vgg16
- .so file for arm 64-bit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe-mobile.