eriklindernoren / Keras-GAN

Keras implementations of Generative Adversarial Networks.
MIT License
9.18k stars 3.14k forks source link

Train with own dataset #194

Open MuhammadAsadJaved opened 4 years ago

MuhammadAsadJaved commented 4 years ago

Hi, I have infrared images for maritime dataset (boat etc) and i want to generate new images using GANs. Can you recommend any GAN project for this task? Project that can use for custom datasets.

nbertagnolli commented 4 years ago

You can use the dcgan.py implementation that Erik put together it just needs a few changes to work on custom images : ). Let me know if you need help.

recepyazici commented 4 years ago

You can use the dcgan.py implementation that Erik put together it just needs a few changes to work on custom images : ). Let me know if you need help.

Hi, what changes should I make to the code with the image data I have in hand. Can you help?

nbertagnolli commented 4 years ago

Happy to help, I have an edited version of this wonderful code here which allows you to pass a folder with some images in it and it will train. You could try giving that a whirl. If that doesn't work ping me and I can try and walk you through it.

mikeratcliffe97 commented 4 years ago

Happy to help, I have an edited version of this wonderful code here which allows you to pass a folder with some images in it and it will train. You could try giving that a whirl. If that doesn't work ping me and I can try and walk you through it.

Hey there, having a similar issue. Quite new to Python and could use a walkthrough on using custom datasets if you can help?

nbertagnolli commented 4 years ago

Where are you stuck? What have you tried?

mikeratcliffe97 commented 4 years ago

I'm trying to write in my file paths for where I am storing my data sets but not sure if I am writing the path in the right place in your code - tried running the command line function called train but it doesn't accept my filepaths

nbertagnolli commented 4 years ago

It sounds like this is a potential issue with my adaptation of the code . Could you open an issue in that repository with what command you tried to run and I'll help you debug : )