Skip to content
Ben edited this page Dec 31, 2016 · 8 revisions

#Keras Adversarial

keras_adversarial is a package for creating adversarial models in Keras.

  • Create a Keras model including all of the different players, the wrap it in AdversarialModel. The resulting model will have targets for each player.
  • Use adversarial_compile to compile the model using different optimizers for each player.
  • Use standard functions like fit to train each of the players simultaneously.

##Examples

Clone this wiki locally