Home Creators Posts Import Register Favorites Logout

Downloads

Content

Roop and Roop-Unleashed deepfake face swap installers for Windows, Massed Compute and RunPod, set up in an isolated venv; this post is no longer updated.

Note: this is an older post kept for reference. The current, maintained version is Roop Unleashed 1-Click Installers: Easy Face Swap for Windows & Cloud.

Latest version installers for DeepFake and FaceSwap work; the December 2024 update moved Roop Unleashed to CUDA 12.4 and Torch 2.5.1. More up to date scripts are in the newer Roop Unleashed post.

This post wont be updated anymore new post is here : https://www.patreon.com/posts/119081500

New post is here : https://www.patreon.com/posts/119081500

Follow this post now : https://www.patreon.com/posts/119081500

More up to date scripts are here : https://www.patreon.com/posts/119081500

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

=======

24 December 2024 Update

  • Rope Unleashed updated to latest version : Roop_Unleashed_v4.zip

  • Now it works on CUDA 12.4 Torch 2.5.1 on Windows and Massed Compute

Windows Requirements

  • Python 3.10, FFmpeg, CUDA 12.4, C++ tools, cuDNN 8.9 and Git

  • If it doesn't work make sure to follow below tutorial step by step and install everything exactly as shown in this below tutorial

  • https://youtu.be/-NjNy7afOQ0

  • More up-to-date info about CUDA 12.4 and C++ tools

  • To install on Windows just run Windows_Install.bat

  • To start on Windows just run Windows_Start_App.bat

28 July 2024 Update:

  • Latest version Roop-Unleashed 1-Click installer scripts added to the scripts https://github.com/C0untFloyd/roop-unleashed

  • Installs latest version of Roop Unleashed with 1-click into a virtual environment folder (isolated)

  • Don't forget to install requirements below

  • The installer zip file contains 1-Click installers for Windows, RunPod and Massed Compute

27 July 2024 Update:

  • Original version Roop installer scripts for Windows, Massed Compute and RunPod added to the attachments

  • For Windows be sure that you have followed the requirements installation

  • It will generate a VENV and install everything into that - fully isolated

  • For Massed Compute and RunPod follow the instructions of readme files

  • Full Roop tutorial video : https://youtu.be/OI1LEN-SgLM

RunPod and Massed Compute Installation

  • Extract the content of the zip file into any folder

  • Then follow the instructions of Massed_Compute_Instructions_READ.txt for Massed Compute

  • Then follow the instructions of Runpod_Instructions_READ.txt for RunPod

  • All are 1-click to install and use just follow instructions carefully

Related posts

All posts in this topic: Face Swap, Deepfake and Talking Avatar Apps · New to SECourses? Start Here: Best and Most Popular SECourses Posts

Files

Comments

J R

I'm away with work this weekend, but looking forward to having a play with this next week. Fantastic content you keep churning out. Thank you!

SECourses

thank you so much for your support

Tiago4D

Nice! Thank you very much!

SECourses

you are welcome. thanks for supporting me

Rafał Ryniak

Unfortunately, it won't work for me, I have a Radeon 290 card, is there any other solution? Runpod stable diffusion or colab? Thanks

Rafał Ryniak

there was no question, I'm checking if your colab notebook file will start for me

SECourses

yes i have both colab and runpod installer. did you solve your issue?

Piotr Kocel

Hi, I'm getting: no module named "onxxruntime" after running start roop.bat. Unfortunately, it keeps popping up even after using the auto install .bat files from here.

SECourses

you probably missed installing c++ tools. sorry for late reply : check out c++ tools install screenshot.png

Piotr Kocel

I've installed it. However, may be missing the optional components from the list - these need to be checked off manually right?

Piotr Kocel

I have installed the optional components, but still get an error which seems to be within the Roop repo: File "C:\deepface\roop\roop\core.py", line 16, in import onnxruntime ModuleNotFoundError: No module named 'onnxruntime' Press any key to continue . . .

SECourses

you need to have c++ tools installed. after that you need to reinstall roop from scratch

SECourses

nope it should work perfectly fine. you just need c++ tools and ffmpeg installed correctly.

Piotr Kocel

that just worked. Thanks so much :)

VINCENT NAVARRO

Hi, I installed everything and started the program, selected the original photo and video but in the output video there's no face swap. Thx

SECourses

Hello. I just attached to the post face.png and video.mp4. can you test them and verify if installation is working or not?

HirumaDiabe

Hello, is it normal to get a lower quality when I create a deepfake using this technique? Is there any specific command or something else I can do with the command prompt to don't have low quality video ?

SECourses

Hello. it is normal. because the face swapper model we use is only 128x128 pixels. They didn't release better model. Are you using enhancer command? it will try to upscale and enhance.

HirumaDiabe

Thank you very much! I tried the latest enhancer command on the GitHub page you mentioned, and it worked. I no longer had any low-quality issues. Thank you once again !

SECourses

hi do you get any error messages? it can't get broken itself. did you do a fresh install? did you try to restart computer?

SECourses

you are welcome. thanks for letting me know

Dazzastrous

Is there some kind of NSFW filter on it?

DreamFilm VFX

Hi, thank you for this, but i have a strange problem (seems), it seems to works with only some photos only. some works, some others not. it gives me this error AttributeError: 'NoneType' object has no attribute 'normed_embedding'. there is something wrong in some pictures? i don't know what i have to think 'cause as i said before, some photos works perfectly. thank you for your help

SECourses

ah yes. it looks like those photos have error. you can open them with paint .net and save as and try again. can you let me know? paint net is open source

DreamFilm VFX

thank you! i try now! i'll coming back with the result :)

DreamFilm VFX

ok it seems you right :) but i've now another problem, while i exporting a swapped video, it makes succesfully the first 49-50 frames, but then this error appears. [E:onnxruntime:, sequential_executor.cc:514 onnxruntime::ExecuteKernel] Non-zero status code returned while running Gemm node. Name:'fc1' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:121 onnxruntime::CudaCall D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:114 onnxruntime::CudaCall CUBLAS failure 3: CUBLAS_STATUS_ALLOC_FAILED ; GPU=0 ; hostname=DESKTOP-518T1G0 ; file=D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_execution_provider.cc ; line=164 ; expr=cublasCreate(&cublas_handle_);

DreamFilm VFX

after that error, the process continues, but after some frames, again appears, and so on. what is this?

SECourses

what is your GPU ? could be related that you are getting out of VRAM

DreamFilm VFX

ohhh probably is this!! i've a 3050 RTX but only 4gb VRAM, i'm planning to upgrade my setup with at least 16GB Vram, but in the meanwhile what do you suggest? i've noticed that i can use roop even in my actual setup, but do you know any workaround? maybe splitting the video? any suggestion will be wellcome :)

SECourses

yes 4 gb not sufficient. use google colab it is working :)

DreamFilm VFX

sorry for bother you again, but something very strange happened. i hope you can give me an explanation. i've tried to swap a 119 frame long, 1920x1080 (landscape) 24fps mp4 video and gives me the error that i've mentioned before (vram releated) BUT, just for my curiosity i've tried to put another video, 569 frames long, 2160x4096 (portrait) 25fps and roop made it succesfully without any issue or breaks... this is strange. how can it's possible that the shorter and in lower resolution, fails, but a longer and better quality video works perfectly? i've noticed another thing. in my first attempt, roop sucks all the vram plus some shared one.. 7 gb total. giving the error, the second attempt, roop was using 3.50gb of just vram, again, without issues.

SECourses

wow interesting. i think this could be due to buggy coding of the roop.

DreamFilm VFX

i don't know that, i guess that depends a lot maybe from a picture that you put it in for the swap. the last swapping (i'm doing right now) using only 00.98 GB of vram. another picture of another face, was using almost all the ram available. i'm pretty confused :D btw i stoled you enough time. thank you for your kind answers.

SECourses

sorry but i don't help with NSFW stuff.

Vilsa Flasche

I now have installed c++ tools like 8times and i still get the same error as "Piotr Kocel". I have Git, Python 3.10.11, ffmpeg and the c++ tools installed just like in the screenshot, why isnt it working now? :(

SECourses

c++ tools is so nasty. I saw some people even did format and installed c++ tools and started working. i have shown it in this video very clearly how to install step by step : https://youtu.be/-NjNy7afOQ0

Futa Fandom

I was following this quide step by step but have an error: 'NoneType' object has no attribute 'shape' :( What this can be?

SECourses

Did you install python and c++ tools like shown in this video ? https://youtu.be/-NjNy7afOQ0 did you see any errors during installation? did you try different face and video?

Futa Fandom

Yes. I reinstalled all process from scratch and it helped thanks a lot!

cocoa

Hello Thank you for always providing great information. I've been creating it using Google colab, but now that I've purchased a GPU, I'd like to create it offline. I tried using this tool right away, but I can't adjust the quality like "--output-video-quality 1 --execution-provider cuda --frame-processor face_swapper face_enhancer". Is there a way to adjust it?

SECourses

Hello thank you. yes please edit start_roop.bat and change values as you wish. for editing use any text editor such as notepad++

Sahil Sangani

You can edit this file and change starting parameters. Currently this script will use 1st cuda GPU but can be modified for CPU or other devices. Message me from Patreon for more help. Traceback (most recent call last): File "D:\1Git\roop\roop\run.py", line 3, in from roop import core File "D:\1Git\roop\roop\roop\core.py", line 16, in import onnxruntime ModuleNotFoundError: No module named 'onnxruntime'

Sahil Sangani

I have installed all c++ tools as per screenshot . tried re installing everything 2 times. still same error :(

SECourses

ok you have few errors. first of all your parent folder name is roop. second did you install cuda 11.8, python 3.10.x? so if you did reinstall it into d:\rope_ai and let me know results

Steve Mrohy

ImportError: cannot import name 'preserve_channel_dim' from 'albucore.utils' (/home/Ubuntu/Desktop/RoopUnleashed/roop-unleashed/venv/lib/python3.10/site-packages/albucore/utils.py)

SECourses

hi are you using on massed compute or your own ubuntu can you give more details?

River of Orion (edited)

Comment edits

2026-09-10 11:00 I'm getting AttributeError: 'Settings' object has no attribute 'launch_browser' then nothing happens.
2024-10-28 02:02

SECourses

hi which zip ? also can you tell me your cuda python c++ tools cudnn versions?

Kirb

Installed roop unleashed on Runpod and getting this when I try to run it. root@e7e35c135146:/workspace# cd /workspace/roop-unleashed source ./venv/bin/activate python run.py Number of CUDA devices: 1 Currently used Id: 0 Device Name: NVIDIA A40 Using provider [('CUDAExecutionProvider', {'device_id': 0})] - Device:cuda Traceback (most recent call last): File "/workspace/roop-unleashed/run.py", line 6, in core.run() File "/workspace/roop-unleashed/roop/core.py", line 404, in run main.run() File "/workspace/roop-unleashed/ui/main.py", line 75, in run launch_browser = roop.globals.CFG.launch_browser AttributeError: 'Settings' object has no attribute 'launch_browser' (venv) root@e7e35c135146:/workspace/roop-unleashed#

SECourses

You were right sorry for delay. Just made update and fixed the installer. Please reinstall into a new pod easiest way to fix

John Doe

I was using Roop Unleashed this week, but trying it again today, it is unable to detect any faces. I'm using the MassedCompute one click link. Wondering if anything changed or if something has gone wrong.

SECourses

yes we got image updated. i may need to update scripts now. give me some time please and thanks for letting me know