Closed anshdavid closed 4 years ago
@ironWolf1990 I am also having this issue. I am using same version tensorflow and keras. Any solution found for this?
@starcreep48 not yet
@starcreep48 @ironWolf1990 Please check this out: https://github.com/XifengGuo/CapsNet-Keras/tree/tf2.2 I did not fully test it due to the limitation of my current working environment. If it does not work, let me know.
@XifengGuo thank you for the update. I'll test it asap and let you know.
I'm having the same issue pop up with the 2.2 update and the latest code. Did anyone find a fix?
I got 2.2 to work eg google colab https://github.com/bklooste/tensorflowcollab/blob/master/CapsuleNet_tf2_MNIST.ipynb
but got the same error when i change the model a bit , I think its because the batch size is baked into the model.
@XifengGuo I was able to run the code in the tf2.2 branch (Google Cloud VM with one GPU, running Ubuntu 16.04).
@XifengGuo used your code as a reference to implement in pytorch. Thanks !
I was running the
capsulelayers.py
with the default settings., but i get the following error. Guidance would be really appreciatedtensorflow-gpu 2.1.0 keras-gpu 2.3.1