From 2e3bbbc4640bed5cf18bba859f8f38ec452ad2d1 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Mon, 29 May 2023 00:59:35 +0530 Subject: [PATCH] gpu is optional, yes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2bca0e9..dae26d3 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ pip3 install -r requirements.txt ``` 4. Download [this file](https://drive.google.com/file/d/1jbDUGrADco9A1MutWjO6d_1dwizh9w9P/view?usp=sharing) and keep it in **roop** directory -### Do you have a decent GPU? +### GPU Accleration (Optional) If you have a good enough GPU, you can use it to speed-up the face-swapping process by running `run.py` with `--gpu` flag. If you plan on doing it, you will need to install the appropriate `onnxruntime-*` package as follows: @@ -41,7 +41,7 @@ pip install build/Linux/Release/dist/*.whl Executing `python run.py` command will launch this window: ![gui-demo](gui-demo.png) -Choose a face (image with desired face) and the target image/video (image/video in which you want to replace the face) and click on `Start`. It will create a directory named `` where you can see the frames being swapped in realtime. Once the processing is done, it will create a video file named `.mp4`. That's it. +Choose a face (image with desired face) and the target image/video (image/video in which you want to replace the face) and click on `Start`. Open file explorer and navigate to the directory you launched `run.py` from. You will find a directory named `` where you can see the frames being swapped in realtime. Once the processing is done, it will create a video file named `swapped-.mp4`. That's it. Don't touch the FPS checkbox unless you know what you are doing.