Git Product home page Git Product logo

sknet_pytorch's Introduction

sknet_pytorch's People

Contributors

researchingdexter 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  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sknet_pytorch's Issues

How to ensure that the selection coefficient satisfy the constraints: a+b=1

Hi. In the part of selection, the original paper wrotes that

In the case of two branches, the matrix B is redundant because ac + bc = 1.

but in your code:
a_b=self.fc2(z) a_b=a_b.reshape(batch_size,self.M,self.out_channels,-1) a_b=self.softmax(a_b) #the part of selection a_b=list(a_b.chunk(self.M,dim=1))#split to a and b
I did not see any constraints to a and b to ensure that a + b = 1. Does this impact the performance of the network?
Thanks.

FC implement

hello @ResearchingDexter
for fully connected (fc) layer implement, why not use nn.Linear() to do,
i think that nn.Linear() -->bn --> relu, and why did you use bias=false in your conv2d?
Thanks, look forward to your early reply.

FC implement

hello @bofang Liu:
for fully connected (fc) layer implement, why not use nn.Linear() to do,
i think that nn.Linear() -->bn --> relu, and why did you use bias=false in your conv2d?
Thanks, look forward to your early recovery.

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.