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

Questions about nearest neighbors in pixel space #83

Open aprilycliu opened 2 years ago

aprilycliu commented 2 years ago

Hi,

I'd like to generate plots of Nearest neighbors in pixel space like Figure 16 from your paper. Could you guide if this method was included in this repository please? Thank you in advance.

zsyzzsoft commented 2 years ago

The code is not included in this repo, but it is not complicated to implement: compute average pixel-wise difference to each training image and find the nearest ones. I'm fine to help if you encounter any particular problems.

aprilycliu commented 2 years ago

Thank you very much for your answer!