Pytorch-cyclegan-and-pix2pix: Looking for performance metric for cyclegan

Created on 14 Aug 2019  路  6Comments  路  Source: junyanz/pytorch-CycleGAN-and-pix2pix

Hi, we often apply cycleGAN for unpaired data. So, some of the performance metric will be not applied

  • SSIM
  • PSNR

For my dataset, I would like to use cyclegan to mapping an image from winter session to spring session and they have no pair data for each image. Could you tell me how can I evaluate the cyclegan performance (i.e how to know the output is close to a realistic image...)

Most helpful comment

A few choices: (1) we often evaluate CycleGAN on paired datasets (e.g., cityscapes used in the paper) while the model is trained without using pairs. (2) some folks have used standard GAN metrics such as FID (3) As no metrics are perfect, a user study might be helpful. You can check out the details of the user study in the CycleGAN paper.

All 6 comments

A few choices: (1) we often evaluate CycleGAN on paired datasets (e.g., cityscapes used in the paper) while the model is trained without using pairs. (2) some folks have used standard GAN metrics such as FID (3) As no metrics are perfect, a user study might be helpful. You can check out the details of the user study in the CycleGAN paper.

Thanks for suggesting the FID. If two dataset are unpaired such as dataset 1 is synthetic of spring and dataset 2 is real spring. They are unpaired, could I use the FID as a performance metric.

People just calculate FID between generated results (fake spring) and target real images (e.g., real spring). FID is not perfect. It doesn't capture the conditioning (i.e. alignment between output and input). But it captures the marginal distribution.

May we know the FID in those datasets for pix2pix?

We don't have FID numbers for pix2pix. FID was published after pix2ix and became popular much later. If you want to compare to pix2pix regarding FID, I recommend that you download our pre-trained models and use your FID evaluation code. There are multiple versions of FID code, which produce slightly different results. Just make sure that you use the version for your method and pix2pix.

We don't have FID numbers for pix2pix. FID was published after pix2ix and became popular much later. If you want to compare to pix2pix regarding FID, I recommend that you download our pre-trained models and use your FID evaluation code. There are multiple versions of FID code, which produce slightly different results. Just make sure that you use the version for your method and pix2pix.

Thanks for your quick response! I got it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidwessman picture davidwessman  路  3Comments

JamesChenChina picture JamesChenChina  路  3Comments

HectorAnadon picture HectorAnadon  路  4Comments

shivom9713 picture shivom9713  路  4Comments

John1231983 picture John1231983  路  3Comments