PyTorch-GAN icon indicating copy to clipboard operation
PyTorch-GAN copied to clipboard

buffer in the cyclegan

Open SITUSITU opened this issue 2 years ago • 1 comments

My personal understanding about what the buffer do is that the first 50 fake sample from the generator are fed into the discriminator as usual, but in the meantime they are stored in a list. When the generator generates the 51st fake sample, the newest fake sample has a 50% chance to replace a element in the list randomly. then the replaced element in the list is fed into the discriminator. There is also a 50% chance that the newest fake sample is fed into the discriminator directly, which mean the list is not change. if my understanding is correct? What is the purpose of this.

SITUSITU avatar Jun 13 '22 02:06 SITUSITU

Have you solved this problem?

ffredd avatar Jul 27 '22 08:07 ffredd