Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[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.

https://i.imgur.com/owXSkXf.png

Here is another, where each row is a cluster, detecting by k-means in the encoder’s feature space.

https://i.imgur.com/wgiKuiK.png

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).

https://i.imgur.com/lcUzGZk.png

Github implementation:

https://github.com/manicman1999/Keras-BiGAN

Enjoy!

submitted by /u/manicman1999
[link] [comments]