Giter Club home page Giter Club logo

Comments (7)

bachml avatar bachml commented on June 18, 2024

Yes.
But I didn't find anything new in the sfm branch. Would you mind offering some documents about this branch? Thanks

from caffe.

wenwei202 avatar wenwei202 commented on June 18, 2024

@bachml We have a simple tutorial on usage of this code. We will update more details recently.

from caffe.

bachml avatar bachml commented on June 18, 2024

@wenwei202 thanks to your remarkable work.
But there's a problem comes up. There's no speedups was observed when a convolution layer with rank M = 1 (high layer in ResNet) was decomposed. Also I didn't find any experiment about speedups of ResNet by force regularization.
Did you meet this issue?

from caffe.

wenwei202 avatar wenwei202 commented on June 18, 2024

@bachml I did not measure speedup by ResNet. Decomposing to rank 1 should have some benefits. It is the issue of the implementation?

from caffe.

bachml avatar bachml commented on June 18, 2024

@wenwei202 More test in my baseline case(a 27 layers ResNet) shows that the issue is related to multi-threaded blas performance (Caffe with CPU).
It did has 1.20x speedup, which is not significant, with 8 threads openblas backend. When run with single-threaded openblas, it has 2.00x speedup. I guess it's because rank 1 convolution corresponds small matrix multiplication, which do not have much benefits from multi-threaded operation with im2col trick.

from caffe.

wenwei202 avatar wenwei202 commented on June 18, 2024

@bachml In the rank one case, the conv layer is decomposed to a conv layer with only one filter plus a linear combination layer which essentially is a conv layer with kernels of 1x1. Some code optimization may be required to fully exploit this kind of compactness.

from caffe.

wenwei202 avatar wenwei202 commented on June 18, 2024

In case you still have interest in this research topic, the details are covered in the paper which is just accepted by ICCV 2017.

from caffe.

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.