Comments (5)
您好,
编译feather_convert_caffe使用的脚本是:
https://github.com/Tencent/FeatherCNN/blob/booster/tools/build.sh, 这个脚本需要提前您安装protobuf。 feather_convert_caffe可以把caffe模型转换为feathermodel, 具体请参考其命令行参数。
FeatherCNN内部有Layer Fusion,它会把ReLU, Batchnorm, Scale等可以合并到其他Layer里面。所以Layer.size只有33层。 如果您不愿意合并可以将https://github.com/Tencent/FeatherCNN/blob/booster/src/net.cpp 里面第302行到344行注释掉。
金涛
from feathercnn.
非常感谢你的回答,我是用的是master版本,执行https://github.com/Tencent/FeatherCNN/tree/master/tools/build.sh 这个脚本时没有报错生成了feather_convert_caffe这个文件,用这个文件转换自己的caffe模型到featherCNN,可以运行但网络的输出结果不正确,输入就是传递一个float指针,将输入写成文件验证是正确的,这会是模型转换的问题吗或者还有其他配置的地方需要配置?
from feathercnn.
@yangyangv8 你最终转换成功了了, 我在转换的时候没有报错, 但是initFromPath 有segmentation fault
from feathercnn.
@helloearth012 你可否把model发我看一下? 我看能不能重现segmentation fault.
from feathercnn.
@yangyangv8 如果你们的caffemodel需要保密,你这边可否把prototxt发我看一下。
from feathercnn.
Related Issues (20)
- Do you plan to support convert pytorch model to feathercnn model? HOT 2
- InitFromPath never returns HOT 1
- 请问该框架与ncnn的区别与联系? HOT 12
- 请问是否支持ssd? HOT 1
- Running benchmark with SqueezeNet model, segmentation fault occured HOT 2
- Does this also support RPi3B with Raspbian OS (armv7l) HOT 3
- typo and why so large input buffer HOT 1
- supported layer mismatch between layer_factory.cpp and feather_convert_caffe.cc
- Model convert error - libprotobuf HOT 1
- Performance testing using experimental branch on Andriod
- build_linux.sh
- 未使用的局部变量
- Add support for tf or split+transpose in caffe.
- loadparam
- 这个项目还在维护吗?
- Layer type Deconvolution not registered
- Documentation or examples for ARM usage. HOT 3
- OpenCL or Vulkan port?
- Evaluation
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 feathercnn.