DCGAN-tensorflow icon indicating copy to clipboard operation
DCGAN-tensorflow copied to clipboard

Train the DCGAN using 102 flowers, but it doesn't work well

Open jononny opened this issue 6 years ago • 6 comments

Hello, I used the 102 flower database to train the model, after 600 epoch, it even cannot generate something like flowers. How could I do to make it generate more realistic one? Can change the parameters make it better? the parameter I put in python main.py --input_height 96 --input_width 96 --output_height 48 --output_width 48 --dataset jpg --crop --train --epoch 600 --input_fname_pattern "*.jpg"

Please help me with that Thanks!

jononny avatar Apr 22 '18 09:04 jononny

Hi,

It would be difficult to train the model with such a small number of images. I am trying out a similar scenario with 100 custom images, and so far nothing looks promising.

I have added another layer though to both the networks and played around with the hyper-parameters. Also epochs need to be really high for a small dataset

neelindap avatar Apr 24 '18 23:04 neelindap

Hi, Thank you for replying I had used this database: http://www.robots.ox.ac.uk/~vgg/data/flowers/102/ with about 8191 pictures, is this database too small? if change some parameters could help?

jononny avatar Apr 25 '18 01:04 jononny

My bad. I thought you mean 102 flower database as in there were 102 images of flowers. :)

8191 is still less though, as compared to CelebA. You could try getting the epochs up to see if that has any impact.

neelindap avatar Apr 26 '18 19:04 neelindap

my data is 130k,but it generate bad

tuoniaoren avatar Jul 04 '18 01:07 tuoniaoren

my resulted picture are so blurred,and seems like the same color.

lzzlxxlsz avatar Mar 21 '19 11:03 lzzlxxlsz

@jononny what is the size of your flower images? I am confused about input_height/ input_width vs. output_height/ output_width. If I have 512x512 images should I set them all to 512?

enochkan avatar Mar 21 '19 14:03 enochkan