Open Jmipar-k opened 5 months ago
Hello! Thanks for your attention. Q1 & Q2: Yes, it is possible to train on the custom datasets. This involves several steps. First, the dataset needs to be separated into a seen subset and an unseen subset according to the split of seen/unseen categories. Second, train the StyleGAN generator and discriminator with the seen samples. Third, inverse the training set of unseen samples to the latent space (following the response to Q3). Last, apply our code for synthesizing images for the unseen category.
Q3: This can be related to the #4. Simply speaking, the latent code can be obtained by replacing the pretrained StyleGAN in ii2s and optimizing for each unseen sample.
If you are implementing the method for a quantitative evaluation, we sincerely recommend that you organize the dataset, pretrained StyleGAN2, and inverted latent codes as the provided ones to reproduce the few-shot generation procedure. If you have further questions, feel free to contact us. We wish you success in reproducing.
I am thankful for your quick reply!
I have an additional question to ask.
I have only 100 images in total, and if I split them into 99/1 or 97/3, do you think that 97-99 images(seen subset) would be a sufficient number of images to train the stylegan generator/discriminator?
This is an extreme case. I believe that StyleGAN can train on approximately 100 images with the aid of the ADA technique. However, I can not guarantee that the latent space of the optimized GAN is robust enough to perform a GAN inversion with only around 100 samples.
Hello!
I have seen your great work!
I am trying to apply this to a medical application.
I would like to know
Thank You!