CapsNetsLASeg
CapsNetsLASeg copied to clipboard
There is a problem with the code
When I run this code, I find that when model_name= capsr3 and ucapsr3, the program will have such an error: capsnets_laseg/models/capsnets.py", line 34, in CapsNetR3 conv1_reshaped = layers.Reshape((H.value, W.value, 1, C.value))(conv1) AttributeError: 'int' object has no attribute 'value' I use the data set you mentioned, which is reproduced completely according to the steps. But strangely enough, when model_name = cnn and cnn-simple, the code can run normally.
I'm getting the same error. Have you found a fix for this @Donlting ?
Try using tensorflow version 1.15.2 and keras version 2.3.1
@OliverMathias @Donlting I'm so sorry for just seeing this. Do you still have the same problem?