swapping-autoencoder-pytorch icon indicating copy to clipboard operation
swapping-autoencoder-pytorch copied to clipboard

Optimizer question

Open kampelmuehler opened this issue 3 years ago • 0 comments

Hi! Can you please explain why if the training mode is 'generator' the discriminator is trained? Thanks.

https://github.com/taesungp/swapping-autoencoder-pytorch/blob/d67e60f8a702868d08e5b943fc7f46908d78e48b/optimizers/swapping_autoencoder_optimizer.py#L61-L64

kampelmuehler avatar Jun 04 '21 08:06 kampelmuehler