Skip to content

gradio-app/DeepMagicMirror

 
 

Repository files navigation

"If I were a girl" - Magic Mirror by StarGAN

This is complementary source code for my blog post.

Here is the YouTube demo.

Magic Mirror

Dependencies

  • Python3.5
  • PyTorch
  • numpy
  • opencv 1.0.1+
  • opencv-python 3.3.0+contrib

Tested on:

  • Windows 10 with PyTorch GPU

install requirements

  1. Install CUDA 9 from Nvidia Developer website.

  2. Install PyTorch with CUDA 9 support

  3. Install other Python libraries by pip.

pip3 install -r requirements.txt

Run the demo

Plugin in a USB webcam, then run.

python3 DeepMagicMirror.py

For more instructions, check out my tutorial.

About

Deep Magic Mirror with StarGAN

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 90.8%
  • Python 9.2%