File size: 1,023 Bytes
ab0dd0b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #!/bin/bash
# Update package lists
apt update
# Clone the roop repository
git clone https://bitbucket.org/secourses/rop-unleash
# Change directory to roop
cd rop-unleash
# Checkout a specific commit - you can remove this line to install latest version
#git checkout 3d02b267663e4badc5c7936d5295effcae3dfbc0
# Create a Python virtual environment
python -m venv venv
# Activate the virtual environment
source venv/bin/activate
python -m pip install --upgrade pip
cd ..
# Install onnxruntime-gpu and requirements
pip install -r requirements.txt
wget https://developer.download.nvidia.com/compute/cudnn/9.10.2/local_installers/cudnn-local-repo-ubuntu2204-9.10.2_1.0-1_amd64.deb
dpkg -i cudnn-local-repo-ubuntu2204-9.10.2_1.0-1_amd64.deb
cp /var/cudnn-local-repo-ubuntu2204-9.10.2/cudnn-*-keyring.gpg /usr/share/keyrings/
apt-get update
apt-get -y install cudnn
python Fix.py
# Install python3.10-tk package
yes | apt-get install -y python3.10-tk
yes | apt-get install ffmpeg
yes | apt-get install p7zip-full
|