GithubHelp home page GithubHelp logo

Comments (5)

Mengjintao avatar Mengjintao commented on April 28, 2024

您好,
编译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.

yangyangv8 avatar yangyangv8 commented on April 28, 2024

非常感谢你的回答,我是用的是master版本,执行https://github.com/Tencent/FeatherCNN/tree/master/tools/build.sh 这个脚本时没有报错生成了feather_convert_caffe这个文件,用这个文件转换自己的caffe模型到featherCNN,可以运行但网络的输出结果不正确,输入就是传递一个float指针,将输入写成文件验证是正确的,这会是模型转换的问题吗或者还有其他配置的地方需要配置?

from feathercnn.

helloearth012 avatar helloearth012 commented on April 28, 2024

@yangyangv8 你最终转换成功了了, 我在转换的时候没有报错, 但是initFromPath 有segmentation fault

from feathercnn.

Mengjintao avatar Mengjintao commented on April 28, 2024

@helloearth012 你可否把model发我看一下? 我看能不能重现segmentation fault.

from feathercnn.

Mengjintao avatar Mengjintao commented on April 28, 2024

@yangyangv8 如果你们的caffemodel需要保密,你这边可否把prototxt发我看一下。

from feathercnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.