Git Product home page Git Product logo

Comments (3)

InnerPeace-Wu avatar InnerPeace-Wu commented on June 26, 2024 1

Glad that we share the same idea.
As for the choice of 32-channels of PrimaryCaps, I suppose it's kind of similar to the output channel in traditional conv nets, where we usually select 256, 512 etc. In this case, we choose 8x32=256 as the output channel, since the capsule needs to be a vector and we choose 8 as number of units in one vector, so finally, the channel of Primary caps would be 32. In a word, i think there is no specific reason, but following conventional instinct building a network with conv ops.
best,

from capsnet-tensorflow.

InnerPeace-Wu avatar InnerPeace-Wu commented on June 26, 2024

Hi,
image
I think it means that each capsule in the [6,6] grid shares the weights of conv op which have the shape 8 x 9x9 x 256 for each of 32 channels of the PrimaryCaps(i.e. sharing feature detector spatially), and it's not about sharing weights with DigitCaps.

from capsnet-tensorflow.

jiayiliu avatar jiayiliu commented on June 26, 2024

Thanks. I thought the same way at the beginning.

Never mind. In this way, we actually treat the 6632 capsules as individual ones. I am just not sure whether they have a specific reason to put a 32-layer representation here.

from capsnet-tensorflow.

Related Issues (1)

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.