Git Product home page Git Product logo

soft-sharing's People

Contributors

lolemacs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

soft-sharing's Issues

Handling depth-wise convolution

Hello,
I understand that this is quite an old repo. But I wanted to try my luck here.

How can the SConv2d handle depth-wise convolution. Whenever I have tried to include the groups parameter with the final F.conv2d function, it has thrown a shape mismatch error.
For clarity:
I want to replace this convolution operation
nn.conv2d : Conv2d(486, 486, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), groups=486, bias=False)

And this is my corresponding SConv2d object:
SConv2d(torch.Size([1, 486, 486, 3, 3]), stride=1, padding=1) with torch.Size([1, 1, 1, 1, 1]) coefficients.

Now, whenever I try to use a group value with the SConv2d function, it breaks down with shape mismatch.

RuntimeError: Given groups=486, weight of size [486, 486, 3, 3], expected input[2, 486, 112, 112] to have 236196 channels, but got 486 channels instead

I would be grateful for any suggestions.

Cannot reproduce the results in Table 4 of the paper

Hi Savarese,

Thanks a lot for sharing the codes. I have run the SWRN-28-10-6 model with cutout regularization and all the 50000 training images, yet I could not obtain the 2.7% test error reported in the paper. I am wondering if I still need more modifications to achieve that. I appreciate it if you can give some useful suggestions.

Thanks!
Zhijie

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.