GANMole for generating melanoma images Using Keras

I used a Generative Adversarial Network (GAN) to generate melanoma images, and named the code GANMole. You can find the code on the GANMole GitHub repository.

I used 374 images to train the GAN, and have resized the images to 32x32 due to the resource exhaustion I get faced with on the GPU I’m using when going with higher resolution images. You can download the images from, here. I would like to mention that I have renamed the images into sequenced number images, that is 0.jpg, 1.jpg, 2.jpg, …, 373.jpg. You can use this script to rename the image file names to sequence number names.

Of course, the goal here is not to reach an optimum solution, but rather demonstrate how a GAN can be used to generate melanoma images.

Have fun!

--

--

--

Leveraging machine/deep learning and image processing in medical image analysis | https://abder.me

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dr. Abder-Rahman Ali

Dr. Abder-Rahman Ali

Leveraging machine/deep learning and image processing in medical image analysis | https://abder.me

More from Medium

Neural Network

Music Genre Classification using Deep Learning (Audio and Video)

Spoken word classification — Tensorflow Speech Recognition Challenge

Stochastic Gradient Descent Using Pytorch Linear Module