TransGAN icon indicating copy to clipboard operation
TransGAN copied to clipboard

Custom dataset HOW-TO and is this capable of conditional GAN ?

Open thusinh1969 opened this issue 2 years ago • 6 comments

I have 2 questions:

  1. Can you please share how to train custom dataset (structure of data path) ?
  2. Is this model capable to train conditional GAN ?

Thanks, Steve

thusinh1969 avatar Sep 29 '21 11:09 thusinh1969

Hi, thanks for your interests.

  1. Custom dataset will be very easy, you can just use celeba dataloader and save your data in a specific directory.
  2. Currently it does not support conditional GAN, I would suggest you to consider some conditional normalization layer and projection discriminator, as suggested by BigGAN.

yifanjiang19 avatar Sep 29 '21 18:09 yifanjiang19

I cannot seem to figure out,

  1. How to test using cifar_checkpoint on my own dataset
  2. How can I train this model on my own dataset (can it be paired or unpaired?) and how can I test my trained model on my own dataset? Please help.

meh-naz avatar May 10 '22 11:05 meh-naz

@meh-naz

  1. This is a GAN model. cifar_checkpoint onl works for cifar
  2. For training on your on dataset, you need to write custom dataloader and keep the other part same.

yifanjiang19 avatar May 13 '22 21:05 yifanjiang19

@yifanjiang19 just for reference to make sure I have it set up properly, what would the training dataset directory structure look like?

mexicantexan avatar Feb 24 '23 19:02 mexicantexan

just put all image in the folder

yifanjiang19 avatar Feb 28 '23 18:02 yifanjiang19

Hello, can you share how to train a custom dataset? What code needs to be modified to successfully train the custom data set, I really need your help, thank you

sll0701 avatar Jul 05 '23 04:07 sll0701