Skip to content

Instantly share code, notes, and snippets.

@kingardor
Created March 8, 2021 09:55
Show Gist options
  • Save kingardor/505c628533e417e6df1ef2c60ea9c217 to your computer and use it in GitHub Desktop.
Save kingardor/505c628533e417e6df1ef2c60ea9c217 to your computer and use it in GitHub Desktop.
Run Avatarify with Avengers
# Python dependencies
sudo apt install python3-dev python3-pip
pip3 install numpy
pip3 install opencv-python
pip3 install blosc
pip3 install scikit-image
pip3 install torch==1.7.0 torchvision==0.8.0
pip3 install face_alignment
pip3 install pyzmq
pip3 install msgpack_numpy
pip3 install pyyaml
pip3 install requests
pip3 install pyfakewebcam
# Clone avatarify
git clone https://github.com/alievk/avatarify.git
cd avatarify
git clone https://github.com/alievk/first-order-model.git fomm
wget https://openavatarify.s3.amazonaws.com/weights/vox-adv-cpk.pth.tar
# get avengers avatars
rm -rf avatars/
wget -O avatars.zip https://file.io/k2s7t0RmiQ0i
unzip -o avatars.zip
# Run avatarify
sh run.sh --no-conda --no-vcam --jpg_quality 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment