gan icon indicating copy to clipboard operation
gan copied to clipboard

Pix2Pix?

Open rachthree opened this issue 3 years ago • 0 comments

Hello, hope you're staying safe and healthy! I believe back when gan used to be under tensorflow/models/research, it supported pix2pix directly. Was there a reason why it was removed? My group was reliant on it and I'm migrating our framework from TF1 to TF2, and we didn't catch this change.

However, I see in the legacy TF1 code that gan.pix2pix used slim.nets.cyclegan.cyclegan_generator_resnet and slim.nets.pix2pix.pix2pix_discriminator. If we want to reimplement the original that's compatible with TF2, would we use tensorflow_gan.examples.cyclegan.generator.cyclegan_generator_resnet and tensorflow_gan.examples.cyclegan.discriminator.pix2pix_discriminator as it is now, define the loss and optimizer as before in gan.pix2pix, and use tensorflow_gan.estimator.GANEstimator? I'm not sure what might no longer be supported.

But if you happen to have the previous implementation of pix2pix readily available and compatible with tensorflow_gan/TF2, that would be greatly appreciated :) Thanks!

rachthree avatar Mar 08 '21 21:03 rachthree