New GAN article and repo

Hey all :wave:,

@Adrien_Treuille wrote a new article showing how to build an app to synthesize faces using GANs, TensorFlow, and st.cache. It also gives a mini-explanation of how Generative Adversarial Networks work in general.

It’s also possible to run this directly from a terminal, but first a note from the article:

“This demo depends on Tensorflow 1, which does not support Python 3.7 or 3.8, so you’ll need Python 3.6. On Mac and Linux, we recommend using pyenv to install Python 3.6 alongside your current version, then setting up a new virtual environment using venv or virtualenv. On Windows, the Anaconda Navigator allows you to pick your Python version with a point-and-click interface.”

Once you’re all set you can run this in a terminal:

git clone https://github.com/streamlit/demo-face-gan.git
cd demo-face-gan
pip install -r requirements.txt
streamlit run app.py

Hope you all enjoy and feel free to let us know if you have any questions!

4 Likes