Git Product home page Git Product logo

nn_encapsulation's People

Contributors

hli2020 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nn_encapsulation's Issues

Which options need to be set to reach the result of 4.55% Error on Cifar10 (in Table 4)

In table 4 an error of 4.55% is reported (this is also the top result from table 3s ablative analysis). When training on cifar10 using the default settings (calling main.py without setting any args) an error of 11.93% can be reproduced. However it doesn't appear that EncapNet is doing any routing with these settings, and without routing between capsules EncapNet appears to be a deep CNN with grouped convolutions to for capsules. --withCapRoute looks to turn on capsule routing for modules 3 and 4. Are any other settings needed to get an error of 4.55% on cifar10. Is the augmentation code used for EncapNet++ include in nn_encapsulation.

Question about the aide branch in your implementation

First, thanks for your work. The approach is novel and I'm really interesting in your design of master branch and aide branch. I also read your implementation and if i'm right, it would be mentioned in class capConvRoute3:
the master branch is generated from main_cap and the aide branch is generated from res_cap
And also in your paper, you said that

... one is a main mapping that directly
receives knowledge from its lower counterpart i, whose spatial location is the
same as jā€™s; another is a side mapping which sums up all the remaining lower
capsules, whose spatial location is different from jā€™s.

However, in your code, the res_cap is generated by

nn.Conv2d(ch_num_in, ch_num_out, kernel_size=ksize[0]+4, stride=stride, padding=pad[0]+2)

, which don't have any pre-processing to ignore the lower capsule in the same spatial location.

Is this for the convenience of implementation? Or if I have a wrong understanding.

Thanks.

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.