binarymax / matchbox-twelvy

This Matchbox Does Not Exist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matchbox Twelvy

Uses a DCGAN to make fake matchbox car designs that look like they were painted quickly by a twelve year old

Examples

Example outputs are in https://github.com/binarymax/matchbox-twelvy/tree/master/twelvys

example GAN output example GAN output

Prerequisites

A *nix machine with:

  • A CUDA capable NVidia card (metrics below used a GTX 1080Ti)
  • CUDA toolkit
  • bash
  • python3
  • scrapy
  • pytorch
  • torchvision

Steps

  1. Get the data:
cd acquisition
scrapy crawl acquisition
  1. Reshape the images as 128x128
cd shape
.'/resize.sh'
  1. Train the model (I trained for 72 hours nonstop on a GeForce GTX 1080 to get the results in the demo)
cd dcgan
.'/train-jpg-images.sh'

Credits

All images credit https://matchbox.fandom.com/ (CC-BA-SA)

About

This Matchbox Does Not Exist


Languages

Language:Python 90.0%Language:Shell 10.0%