Closed 51N84D closed 4 years ago
The code currently isn't set up to load checkpoints for the masker and painter separately though. I can work on that next
The code currently isn't set up to load checkpoints for the masker and painter separately though. I can work on that next
sounds good ; do you need help? with hydra integrations things should become more flexible
If both "m" and "p" are specified, omnigan goes into end-to-end training mode. This just means that we use the global discriminator (which is trained to distinguish between flooded and non-flooded images) to compute a loss on the painter and masker in the real domain. Let
x
be an image in the real domain.z_x = G.encode(x) m = masker(z_x) z ~ N(0,1) x_f = painter(z, m)
Then we compute the GAN loss on
x_f