Skip to content

Project to create fake Fire Emblem GBA portraits using StyleGAN2. On Google Colab because I don't own a GPU.

License

Notifications You must be signed in to change notification settings

mphirke/fire-emblem-fake-portaits-GBA

Repository files navigation

Generation of fake Fire Emblem GBA portraits using StyleGAN2

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.


How do I use this?

  1. 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 button Open in Colab when it shows up.

Real examples of Fire Emblem GBA portaits: Real Fire Emblem Portraits GBA

Thanks to spriters for providing the training data:

  1. Aegius (Zach) who gave ~30 portraits from his project (Necrosis Among the Living).
  2. Fire Emblem Mugs by Atey who has posted the linked portraits for use freely.
  3. 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
  4. Fire Emblem Custom mug GBA spread sheet by caringcarrot
  5. 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):

Some handpicked fakes

Generated Fakes Example


Generated Fakes training (from 0th kimg to 480th kimg) video on YouTube:

IMAGE ALT TEXT

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:

  1. Steam StyleGAN2 by woctezuma
  2. The original StyleGAN2 repository
  3. @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},
}

About

Project to create fake Fire Emblem GBA portraits using StyleGAN2. On Google Colab because I don't own a GPU.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published