Hacks

Generating Beetles from Public Domain Images

Generating Beetles from Public Domain Images


Ever since [Ian Goodfellow] and his colleagues invented the generative adversarial network (GAN) in 2014, hundreds of projects, from style transfers to poetry generators, have been produced using the concept of contesting neural networks. Unlike traditional neural networks, GANs can generate new data that fits statistically within the same set as the training set.

[Bernat Cuni], the one-man design team behind [cunicode] came up with the idea to generate beetles using this technique. Inspired by material published on Machine Learning for Artists, he decided to deploy some visual experiments with zoological illustrations. The training data was found from a public domain book hosted at archive.org, found through the Biodiversity Heritage Library. A combination of OpenCV and ImageMagick helped with individually extracting illustrations to squared images.

[Cuni] then ran a DCGAN with the data set, generating the first set of quasi-beetles after some tinkering with epochs and settings. After the failed first experiment, he went with StyleGAN, setting up a machine at PaperSpace with 1 GPU and running the training for >3 days on 128 px images. The results were much better, but fairly small and the cost of running the machine was quite expensive (>€125).

Given the success of the previous experiment, he decided to transfer over to Google CoLab, using their 12 hours of K80 GPU per run for free to generate some more beetles. With the intent on producing more HD beetles, he used Runway trained on 1024 px beetles, discovering much better results after 3000 steps. The model was moved over to Google CoLab to produce HD outputs.

He has since continued to experiment with the beetles, producing some confusing generated images and fun collectibles.

Check out the beetles here:



Source link

Click to add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Hacks

More in Hacks

Multiple 3D Printers, and One Pi to Rule Them All

HCFebruary 24, 2020

3D Printable Nameplates From Your Web Browser

HCFebruary 23, 2020

Introducing The XFM2: A New FM Synthesizer Board

HCFebruary 22, 2020

Stout Homebrew Radio Pumps Out 200W of AM Goodness

HCFebruary 21, 2020

Machine Inside of a Chip: How Sprite_TM Built the FPGA Game Boy Badge

HCFebruary 20, 2020

Gear up Your Gear Knowledge with Gears

HCFebruary 19, 2020

Copyright © HurtCafe.com 2016

Do NOT follow this link or you will be banned from the site!