Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 989 Bytes

README.md

File metadata and controls

44 lines (34 loc) · 989 Bytes

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)