Back to Browse

Creating Endless Anime Faces with Python + StyleGAN2 + Colab

8.5K views
Dec 29, 2021
37:08

🐶What’s cuter than an anime girl? Infinite anime girls. Here we look at how to code an anime face generator using Python and a ready-trained anime data model. We’ll be doing it in Google Colab but you could run it anywhere. We also look at how to save the faces being generated and prototype a basic web app where a visitor can click a button and get a new face. 00:05 Intro 02:35 Setting up face generation 08:30 Creating a single face 12:45 Creating a grid of faces 17:02 Saving faces to Google Drive 22:00 Creating a web app 30:00 Exposing the web app with Ngrok 35:20 Summary You can get the entire .ipynb file here: https://colab.research.google.com/drive/1sxr6tyRw0TaVml6AsnzscCB71-6tcRbT?usp=sharing A simple web-app showcasing faces: https://practical-meitner-69afb9.netlify.app/ The training data is available both here: https://drive.google.com/open?id=1WNQELgHnaqMTq3TlrnDaVkyrAH8Zrjez and here: https://drive.google.com/file/d/1NI7zB-cDvbEIuAtNkLHMYLaFpw5OccoF/view?usp=sharing The first part draws heavily on the 2020 article by Fathy Rashad: https://towardsdatascience.com/generating-anime-characters-with-stylegan2-6f8ae59e237b?source=user_profile---------6-------------------------------&gi=8b59dcbc9814 Learn more about StyleGAN2 here: https://github.com/NVlabs/stylegan2 Streamlit: https://streamlit.io/ Ngrok: https://ngrok.com/ Subscribe for more: http://www.youtube.com/channel/UC2V8zf8wHvm4MtRZuGl4yQQ?sub_confirmation=1 #Python #MachineLearning #Anime #Colab #TensorFlow #StyleGAN2 #FaceGeneration #AIArt #Ngrok #Waifu #Streamlit #WebApp

Download

0 formats

No download links available.

Creating Endless Anime Faces with Python + StyleGAN2 + Colab | NatokHD