Training the adversarial network