Last active
July 22, 2023 17:29
-
-
Save KeirLoire/cd792318cd902b2eb953900c69995ead to your computer and use it in GitHub Desktop.
Roop Install Bash Script for RunPod.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Clone roop-unleashed project | |
cd /workspace | |
git clone https://github.com/C0untFloyd/roop-unleashed | |
cd /workspace/roop-unleashed | |
# Create/Activate Python Virtual Environment | |
python -m venv venv | |
source /workspace/roop-unleashed/venv/bin/activate | |
# Install Python packages | |
pip install onnxruntime-gpu && pip install -r requirements.txt | |
# Install/Update dependencies | |
apt update | |
yes | apt-get install -y python3.10-tk | |
yes | apt-get install ffmpeg | |
yes | apt-get install p7zip-full | |
apt install libcudnn8=8.7.0.84-1+cuda11.8 libcudnn8-dev=8.7.0.84-1+cuda11.8 | |
# Usage: | |
# python /workspace/roop-unleashed/run.py -s "/workspace/face.jpg" -t "/workspace/video.mp4" -o "/workspace/output.mp4" --execution-provider cuda | |
# Recommended specs for RunPod container: | |
# - Community Cloud | |
# - RTX 3090 with 24 GB VRAM | |
# - 20 GB container disk and 80 GB volume disk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run script, don't forget to change permission and use
source
chmod 777 roop-install.sh source roop-install.sh