Seeing GANs create fake faces from real ones made me wonder could I create fake GBA fire emblem faces from the real ones. This repository is the result of that and it is purely non-commercial in nature.
- Click on this link and follow the instructions.
Alternatively, you could do it the long way and click on the file
Demo_FE_GBA_Portraits.ipynb
here on Github (scroll up) and then press the buttonOpen in Colab
when it shows up.
Real examples of Fire Emblem GBA portaits:
Thanks to spriters for providing the training data:
- Aegius (Zach) who gave ~30 portraits from his project (Necrosis Among the Living).
- Fire Emblem Mugs by Atey who has posted the linked portraits for use freely.
- Servants from FateGO in the GBA portrait style, Collection of Fire Emblem Fates GBA Mugs, Nohr in GBA Style by u/Toaomr on Reddit and Twitter : @toaomr
- Fire Emblem Custom mug GBA spread sheet by caringcarrot
- Free to use NICKT collection by NICKT
If you intend to use those sprites for training, please ask the artists. I will not redistribute their works so don't ask me. If you want to add your own sprites and train, remember, the input to StyleGAN must be a square image(with dimensions in power of 2, so example valid size is 64x64, 128x128, 32x32, etc), and all inputs must have the same size, so if you are using half-bodies, for example, you will have to crop and resize them down.
Generated Fakes Example (480 kimg):
Generated Fakes training (from 0th kimg to 480th kimg) video on YouTube:
This is still a work in progress. To Do:
- Preprocess images automatically to 128x128 and turn background white
- Get more images to train on
- Create another notebook to generate output for demo purposes.
License
This project was purely made for educational purposes/research purposes and the code base is strictly non-commercial as it is licensed under Nvidia Source Code License-NC because of usage of StyleGAN2. You are free to use (credit appreciated but not required) this tool as long as you use it reponsibly and non-commerically but we are not responsible for any uses (read the license for more details). Do not ask us for the training dataset. We do not have the permission to redistribute the artists' works.
References:
- Steam StyleGAN2 by woctezuma
- The original StyleGAN2 repository
- @woctezuma's fork of StyleGAN2 for easy saving results in google drive.
StyleGAN2 citation:
@article{Karras2019stylegan2,
title = {Analyzing and Improving the Image Quality of {StyleGAN}},
author = {Tero Karras and Samuli Laine and Miika Aittala and Janne Hellsten and Jaakko Lehtinen and Timo Aila},
journal = {CoRR},
volume = {abs/1912.04958},
year = {2019},
}