Coder Social home page Coder Social logo

context-gated-convolution's People

Contributors

xudonglinthu 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

Watchers

 avatar  avatar  avatar  avatar

context-gated-convolution's Issues

runtime error

Hello, I am getting the following error when I run your content gate conv. How do I fix this error?
return torch.matmul(out, x_un).view(b, self.oc, int(np.sqrt(l)), int(np.sqrt(l)))
RuntimeError: shape '[1, 64, 69, 69]' is invalid for input of size 306432

the purpose of using a pooling layer

Hello, I would like to ask you what is the purpose of using a pooling layer to make the feature map of h*w into h'*w'? AdaptiveAvgPool2d((ws,ws)) in the code you posted, why output_size=kernel_size?

About context-gated-convolution for action recgnition

Nice work!
I wonna use context-gated-convolution in action recgnition. I noticed that you use torch.nn.Unfold in layer.py, and it needs a 4-D input(batch x channel x height x width). But I don't know how to do to extend context-gated-convolution to a 5-D input (batch x channel x frams x height x width) . Will you release your code for action recgnition in the paper?
Thanks!

about GPU comsumption

Hello, I find your job very creative and utilize it on my network. However, the GPU consumption enlarges four times as the former network when training. Have you ever encountered this problem and how can I address it? Thank you very much for your reply!

About self.ind

At line 19 in context-gated-convolution/image-classification/models/layers.py,

if kernel_size == 1 or True:
    self.ind = True

self.ind is always True and the layer works the same as traditional convolution.

Is or True redundant?

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.