You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: