The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
To run the code clone the repository
git clone https://github.com/skaae/torch-gan.git
datasetssubfolder and run
create_dataset.py. This will create the labeled faces in the wildt dataset. This may take a while depending on your internet connection etc.
th train_lfw.lua -g 0
-g 0specifies the GPU you want to use. The code will only run on GPU, but you can easily modify to run on CPU by removing the cudnn dependencies.
The code will plot 100 generated images after each epoch. After a 5-10 epochs you should see something that looks like a face.