Coder Social home page Coder Social logo

theailearner / capsule-network Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 10.0 20 KB

Intutiions behind capsule networks

Home Page: https://theailearner.com/2019/01/21/capsule-networks/

Jupyter Notebook 100.00%
capsule-network cnn cnn-keras keras python

capsule-network's People

Contributors

theailearner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

capsule-network's Issues

DIgitalCapsuleLayer gives an error


ValueError Traceback (most recent call last)
in ()
33 return K.sqrt(K.sum(K.square(inputs), -1) + K.epsilon())
34
---> 35 digit_caps = DigitCapsuleLayer()(squashed_output)

2 frames
/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py in batch_dot(x, y, axes)
1259 str(x_shape) + ' and ' + str(y_shape) +
1260 ' with axes=' + str(axes) + '. x.shape[%d] != '
-> 1261 'y.shape[%d] (%d != %d).' % (axes[0], axes[1], d1, d2))
1262
1263 # backup ndims. Need them later.

ValueError: Can not do batch_dot on inputs with shapes (None, 10, 10, 1152, 16) and (None, 10, 1152, 1152, 16) with axes=[2, 3]. x.shape[2] != y.shape[3] (10 != 1152).

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.