[P] Finding similarities and clustering r/EarthPorn images using BiGAN, implemented in Keras!
Hi everyone! I recently implemented BiGAN in Keras, with some modifications (hinge loss, gradient penalty, etc.). Then, with that, I made a script to find similarities in r/EarthPorn images using BiGAN’s encoder, as well as clustering images using k-means clustering in the feature space. I’ve uploaded my code to github aswell.
Here is an image, on the left are target images, and on the right are the 7 most “similar” images in the dataset, in order.
Here is another, where each row is a cluster, detecting by k-means in the encoder’s feature space.
Lastly, here is another image. On the top are images generated by BiGAN. On the bottom are real images of landscapes (1st and 3rd row) and their reconstruction using BiGAN’s E and G (2nd and 4th row).