XifengGuo / CapsNet-Keras

A Keras implementation of CapsNet in NIPS2017 paper "Dynamic Routing Between Capsules". Now test error = 0.34%.
MIT License
2.47k stars 651 forks source link

ValueError: Cannot do batch_dot on inputs with shapes #137

Open SaiMoulikaBedadhala opened 9 months ago

SaiMoulikaBedadhala commented 9 months ago

I am not able to understand the usage of tensors and how to modify the dimensions according to my dataset ERROR: ValueError: Cannot do batch_dot on inputs with shapes (None, 3, 3, 131072, 16) and (None, 3, 131072, 131072, 16) with axes=[2, 3]. x.shape[2] != y.shape[3] (3 != 131072).