C0untFloyd/roop-unleashed: Install roop-unleashed for Windows AMD GPU

Описание к видео C0untFloyd/roop-unleashed: Install roop-unleashed for Windows AMD GPU

Donate me at
Kofi: https://ko-fi.com/tongtong
Paypal: [email protected]
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Update 29 May 2024:
I tested roop-unleashed on 3 browsers, I personally use Opera by default which has no problems.
Google Chrome: cpu runs at 100% at idle, ❌ recommended
Opera: run normally, ✔️ recommended
Microsoft Edge: run normally, ✔️ recommended

To ensure you are running directml
1. Go to settings tab on top
2. Choose dml in Provider
3. Click Apply Settings, then Restart Server
Preview:    • Запись  

Update 24 May 2024:
At 1:39 in anaconda Advanced Installation Options, there are 4 options need to check. The second option "Add Miniconda3 to my PATH environment variable" is the most important. If you did not do so, it will lead to a series of problems like
1. your command prompt won't recognize conda command
2. your bat file won't run since it cannot recognize conda command

If you do not want to reinstall miniconda to check all the options, your only solution is (that I can think of):
1. use anaconda prompt
2. cd to your roop unleashed installed location
3. conda activate ru
4. python run.py

And yes, you have to type this every single time you want to use it.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Video:
By cottonbro studio: https://www.pexels.com/video/hands-gi...

Photo:
By Bernard Lee: https://www.pexels.com/photo/woman-ho...
Mona Lisa: https://en.wikipedia.org/wiki/File:Mo...

Download Visual Studio 2022 Community:
https://visualstudio.microsoft.com/do...

Download FFMPEG:
https://ffmpeg.org/download.html

Add System Environment Variables (your path may be different depends on where you put it):
D:\PATH\ffmpeg\bin

Installing Git
https://git-scm.com/download/win

Installing miniconda:
https://docs.anaconda.com/free/minico...

Setup Roop Unleashed:
conda create -n ru python=3.9 -y
conda activate ru
git clone https://github.com/C0untFloyd/roop-un... && cd roop-unleashed
pip install -r requirements.txt && pip install onnxruntime-directml==1.15.1

run.bat:
call conda activate ru
python run.py
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Chapters
0:00 - Intro
0:09 - Setup Visual Studio 2022 Community
0:20 - Setup FFMPEG
1:08 - Update Your GPU Driver
1:25 - Setup Git and Miniconda
1:48 - Setup roop-unleashed
2:40 - Face Swap Demo

I'm going to show you how to install Roop Unleashed on Windows for AMD GPUs. Before you begin, you need to have a few software installed. Download the Visual Studio 2022 Community and make sure you select Desktop Development with C++ during the installation.

Download the FFMPEG as shown and make sure the version you download is master latest win64 GPL. Extract the FFMPEG in a folder of your choice. I extract mine at D:\PATH\ffmpeg. Go to the bin folder and copy the location path from the address bar. Type "environment variable" in the search bar on your computer's taskbar. Then, click on "Edit the system environment variables." A window will pop up. Click on "Environment Variables" again. Look for "Path" under System variables and double-click it. Then, click "New" and add the path for FFMPEG.

Always make sure you update your GPU driver to the latest version too. I have seen too many people having problems with unknown weird errors because they never update their gpu drivers or are using Microsoft auto-detect drivers that are really out of date.

Finally, install git and miniconda as seen. At the Advanced Installation Options for miniconda, check all the options available and click install.

Choose a folder you want to install your Roop Unleashed. At the address bar, type CMD and press enter. Paste the conda create code followed by conda activate code. Next, paste the git clone code. After that, paste pip install code to install all the necessary dependencies for Roop.

You can close the command prompt after it's done. Open a notepad, paste the following code and save in roop-unleashed folder as run.bat file. Double-click the run.bat to run Roop Unleashed. It will download all the files needed. After it's done, you will be presented with its web UI. It will download buffalo l zip file for the first time when you upload an image to source. As you can see, I'm using Mona Lisa face as the source file and another picture as target file. This will change the face in target file to the one in source file. Subscribe or donate if you like my video.

Комментарии

Информация по комментариям в разработке