tensorfreitas / DCGAN-for-Bird-Generation

DCGAN and WGAN implementation on Keras for Bird Generation
65 stars 22 forks source link

DCGAN's code for test #3

Closed HwaiHo-0552 closed 6 years ago

HwaiHo-0552 commented 6 years ago

Could you share the code for test ? I can not code correctly. Thanks.

tensorfreitas commented 6 years ago

Could you explain what have you tried? If you downloaded the dataset and change the path of it in main() you should be ready for training.

HwaiHo-0552 commented 6 years ago

training over and save model as 'xxxx.h5', For testing that generate some new images, as follow(1)load the 'xxxx.h5' before test in Generator Network (2)generate some new images I just know about the processing of GAN, but can not how to code the testing work. Thanks.

tensorfreitas commented 6 years ago

You can load the model and simulate the code of line 209 that generates new images from noise.

HwaiHo-0552 commented 6 years ago

Thank you. @Goldesel23

tensorfreitas commented 6 years ago

I am glad I helped. I'll close the issue. Feel free to reopen it if you have any related question!