A GAN of Your Own

Train a GAN of your own

Inspired by: Bart Hassink

Description of the work: 

In 2022 Bart Hassink made a website that could generate dickpics using StyleGAN on RunwayML. StyleGAN, the machine learning, had pre-trained models on image-categories like landscapes or faces, but not this type of image. So Bart had to train his GAN (generative adversarial network) from scratch. To do so he scraped the web for hundreds of publicly available dickpics as training material. Besides this generator, Hassink also trained an image recognition algorithm that could detect non-human phallic objects, for example in architecture or fauna.

Assignment:  

  1. Find an online tool that allows you to train a GAN of your own, for example Playform.io’s Freeform or the original StyleGAN that’s on GitHub.
  2. Find or create one or multiple collections of similar images. For instance still life paintings from a certain painter or era from the online collection of the Rijksmuseum, mirror selfies taken at a certain place in your home from your personal photo archive, or royalty-free stock photos of produce. Make several versions of the collection with more and less images. For instance 30, 100 and 300 images.
  3. Train a GAN and let it create a series of new images with each version of the collection. If possible experiment with pre-trained models that can already recognize landscape, for instance.
  4. Review what the differences are in between the different outcomes.