Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

"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.

You can’t perform that action at this time.