Skip to content

binarymax/matchbox-twelvy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published