GAN model with keras and Galaxy datasets
- Keras with TensorFlow Use to build model
- Numpy Use to build model
- PIL Use to load and save images
- Pickle Use to load and save images
I used Google Cloud to run my program (cause my mac kept crashing) This code is the one I used along with the entrainer.sh, config.yaml and setup.py files for Gcloud. Note : You may want to change some parts if using on your computer
I've put all my input images in a pickle file. Here's an example of my input :
I tried to improve my code a few times.
The first output are in 'Ganaxy Image 1' folder. Here's an example:
The second output are in 'Ganaxy Image 2' folder. Here's an example:
The third output are in 'Ganaxy Image 3' folder. Here's an example:
The fourth output are in 'Ganaxy Image 4' folder. Here's an example:
The fifth output (for this code) are in 'Ganaxy Image 5' folder. Here's an example:
Though it's not what I wanted, I really like the weird green and pink galaxies !