git clone https://github.com/ussaema/Vector_Matrix_CapsuleGAN.git
contact: [email protected]
Models were trained using 2 GeForce GTX 1080 GPUs. All networks were trained using early stopping which is triggered when no improvement on the generated samples is remarkable.
An early stopping under the condition that the loss of the validation set has not been lowered in some straight epochs is not possible due to the alternation in optimising the losses of Minimax game. By cause of limitations in time and for the sake of comparison, a number of epochs has been set to 100.
It is also possible to train the discriminator (Vector CaspNet, Matrix CapsNet, etc.) as a simple classifer on MNIST, smallNORB or CIFAR10 by adding # at the beginning of the second line of the following part:
"models_to_train": {DISCRIMINATOR['name'] : DISCRIMINATOR['train'],
GENERATOR['name']:GENERATOR['train'],
},
MVCaps1 MNIST
Matrix CapsGAN failed to learn! Feel free to contact me and send some improvement suggestions :)
Copyright (C) 2018 Oussema Dhaouadi - TUM
Licensed under MIT License
See the LICENSE.