Coder Social home page Coder Social logo

Comments (6)

yonghenglh6 avatar yonghenglh6 commented on May 31, 2024

CPU是一模一样的(和年前的版本的conv相比)。 “贡献是实现了group时可以使用cuda吗?”对,主要用于训练。 “还有在添加你的层入我的caffe时不需要添加进caffe.proto吗?”不需要,它复用了conv的参数定义。

from depthwiseconvolution.

wzj5133329 avatar wzj5133329 commented on May 31, 2024

非常感谢!nice work...

from depthwiseconvolution.

wzj5133329 avatar wzj5133329 commented on May 31, 2024

你好,我还有一个问题,当用到GPU时,DepthwiseConvolution里面的group加与不加是一样的吗?不加默认也分离吗?CPU版中不加应该就是一个普通的卷积层吧?

from depthwiseconvolution.

yonghenglh6 avatar yonghenglh6 commented on May 31, 2024

不,必须要加。 虽然不加也做分离,但是因为集成了普通conv的内存分配,不加的话会影响W和b的内存分配尺寸,不加的话将来转成普通conv(并增加group参数)会报错。

from depthwiseconvolution.

wzj5133329 avatar wzj5133329 commented on May 31, 2024

如果不加,做分离是不是隐式group转成与输入输出一致呢,因为我不加与加了后用caffe测试占用显存是一样的,加了之后是为了可以直接将type改为Convolution使用吗?这样是为了移植到其他框架上吗^_^

from depthwiseconvolution.

yonghenglh6 avatar yonghenglh6 commented on May 31, 2024

对,是为了将来切换回caffe,然后转移到其他框架。

from depthwiseconvolution.

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.