PyTorch-GAN
PyTorch-GAN copied to clipboard
buffer in the cyclegan
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.
Have you solved this problem?