Coder Social home page Coder Social logo

Comments (4)

eric612 avatar eric612 commented on May 24, 2024

你看看是不是這個問題 input layer
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 1 dim: 3 dim: 227 dim: 227 } }
}
https://github.com/Tencent/ncnn/blob/8d984f105b1b8f816654ffa7719e96fbd5885971/docs/how-to-use-and-FAQ/use-ncnn-with-alexnet.md

from mobilenet-yolo.

vicwer avatar vicwer commented on May 24, 2024

input layer是这样的,我看我的param文件,是ConvolutionDepthWise层后面没有参数。
我把您原始prototxt文件中的DepthWiseConv改成了ConvolutionDepthWise,不改的话无法转换,这样改有没有什么错误?

from mobilenet-yolo.

eric612 avatar eric612 commented on May 24, 2024

其實改成一般的convolution即可,當group = channel 時,Convolution , DepthWiseConv 與 ConvolutionDepthWise 這三種輸出的結果基本沒有差別或差異小到可以忽視,只差在Caffe traing 和 inference的速度。

from mobilenet-yolo.

vicwer avatar vicwer commented on May 24, 2024

好的,多谢,我看了一下caffe2ncnn.cpp,应该是ConvolutionDepthwise,而不是ConvolutionDepthWise...大小写改完就转换正常啦

感谢您的工作!

from mobilenet-yolo.

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.