Skip to main content
. 2023 Jul 7;102(27):e34161. doi: 10.1097/MD.0000000000034161

Figure 5.

Figure 5.

Schematic diagram of CycleEBGAN. Real and cycled fundus photographs were converted into angiographs by G and F, respectively. Real and cycled angiographs were converted into simulated fundus photographs by F and G, respectively. The discriminators DX and DY were trained to distinguish between the real and simulated images. The generators were trained to “fool” the discriminator to make the simulated image look like a real image. We calculated the L1 loss cyc(G, F) so that the real and cycled images were identical. In addition, in CycleEBGAN, L2 loss energy(G, ​​ ​​ F, ​​ ​​ DY,DX)  led to the constraint of identical real and simulated images (red arrows). The main difference between CycleEBGAN and CycleGAN is that CycleGAN measures the distance between the simulated image and 1, whereas CycleEBGAN measures the distance between the simulated and paired real images (red arrows). CycleEBGAN = energy-based cycle-consistent adversarial networks, CycleGAN = cycle-consistent adversarial networks.