-
As I understand, you reset coupling coefficients after each training sample (batch). Don't you think it would be better to keep their previous state and update them depending on it?
-
In dcnet.py;
line 80: ` decoderFinal.add(layers.Merge([decoder.get_layer('zero_layer'), decoder.get_layer('one_layer')], mode='concat'))`
I'm facing the error:
`AttributeError: module 'keras.laye…
-
If I want to apply this model to a multi-class multi-label classification, what changes would be required for me to make on the `Mask()` layer? Can you give me any hint?
Will there be any other chang…
-
Hi,
I would like to use a capsule model for the regression problem in which I have an input image with a shape similar to MNIST but with a label (vector length 40). which part of the code I should …
-
@XifengGuo ,
I was going through your program. I did not understand the purpose of the manipulate_latent function. Can you please give some explanation over this?
Thank you so much.
Regards,
B…
-
pylint E0401:unable to import 'keras.utils'
unable to import networks.capsulenet.capsule_net
when i uesed ''python attack.py --model densenet capsnet'',the above problems appeared,Who can help me t…
-
In the 'train' function, why is data given as [x,y],[y,x]?
For example,
1. In 'train_generator' function
>> yield ([x_batch, y_batch], [y_batch, x_batch])
2. In 'fit_generator' function
>> valid…
-
I just have a short comment on the implementation of the convolutional capsule layer (in `layers.py`):
shouldn't it just be based on the existing (ordinary) convolutional layer, there is no need for …
-
Why is this necessary?
https://github.com/XifengGuo/CapsNet-Keras/blob/0ca571cb6c0fb465befebcb4e1fccef6efaecda3/capsulelayers.py#L152
-
After I trained the model succesfully and run the following command on Google Colab.
`!python3 /content/drive/tut_competition/capsulenet_colab.py -t -w /content/result/trained_model.h5`
_keras v…