mit-han-lab / data-efficient-gans

[NeurIPS 2020] Differentiable Augmentation for Data-Efficient GAN Training
https://arxiv.org/abs/2006.10738
BSD 2-Clause "Simplified" License
1.27k stars 175 forks source link

How do you calculate accuracy in paper? #95

Open Luciennnnnnn opened 2 years ago

Luciennnnnnn commented 2 years ago

For example, in Figure 5 (b), you plot the D's accuracy on T(x), T(G(z)), and G(z), I wonder how this metric was calculated. After each update of discriminator or after each update of discriminator and generator?

zsyzzsoft commented 2 years ago

The accuracy is computed periodically, not at every iteration. By the way, I believe that the two ways you mentioned do not make much difference. You can refer to train_fns.py for details.