yuxianmeng / matrix-capsules-pytorch Goto Github PK
View Code? Open in Web Editor NEWA Pytorch implementation of "Matrix Capsules with EM routing"
A Pytorch implementation of "Matrix Capsules with EM routing"
Matrix-Capsules-pytorch/Capsules.py
Line 86 in bc9e26d
pose's shape is (b, self.B, H, W), how can it be reshaped into ( b, 16, self.B, H, W) in the next line????? why does no one point this out? no error reported????
Thanks for your work! However, when I set r = 2, the loss turned into nan. Have you met this problem? How to fix it?
When trying your demo on my 1050 Ti, this model only reaches 30% usage of CUDA cores and runs really slow. Meantime, another traditional CapsNet can reach 100% usage. Does this mean a performance problem of your model?
Hi,
I am on windows 10 with python 3 and conda install. I have just cloned and ran as suggested and I get this error RuntimeError: zero-dimensional tensor (at position 0) cannot be concatenated. Is this something you may have seen?
Thanks.
when Debug at here y_range = (max(floor((j-self.K)/self.stride)+1,0),min(j//self.stride+1,width_out))
will print error TypeError: range() integer start argument expected, got float.
Hello. I'm trying to overfit to a toy batch with r=2. With batchsize >1 I am unable to overfit with r>1, though everything works with r=1. In particular, the network outputs the same results for all images in the batch.
Hi, @shzygmyx
I am a contributor to another matrix CapsNet in TensorFlow. Are you able to reproduce the result suggested by the author of the paper?
Thanks for your kind help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.