1-Click Roop and Roop-Unleashed (DeepFake - FaceSwap) Windows, Massed Compute and RunPod Latest Version Installers
🕑 Added 2022-12-24 01:11:00 +0000 UTCThis 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)
=======
Please register for Massed Compute using the following link:
Please register for RunPod at: https://runpod.io?ref=1aka98lq
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
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
Comments
Furkan Gözükara
yes we got image updated. i may need to update scripts now. give me some time please and thanks for letting me know
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.
Furkan Gözükara
You were right sorry for delay. Just made update and fixed the installer. Please reinstall into a new pod easiest way to fix
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#
Furkan Gözükara
hi which zip ? also can you tell me your cuda python c++ tools cudnn versions?
Snoogins
I'm getting AttributeError: 'Settings' object has no attribute 'launch_browser' then nothing happens.
Furkan Gözükara
hi are you using on massed compute or your own ubuntu can you give more details?
Furkan Gözükara
fixed the page link
Joseph Foster
Page not found in on clik
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)
Sahil Sangani
sure trying!
Furkan Gözükara
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
Sahil Sangani
I have installed all c++ tools as per screenshot . tried re installing everything 2 times. still same error :(
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'
Furkan Gözükara
Hello thank you. yes please edit start_roop.bat and change values as you wish. for editing use any text editor such as notepad++
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?
Furkan Gözükara
great
Andrei Koneev
Yes. I reinstalled all process from scratch and it helped thanks a lot!
Furkan Gözükara
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?
Andrei Koneev
I was following this quide step by step but have an error: 'NoneType' object has no attribute 'shape' :( What this can be?
Furkan Gözükara
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
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? :(
Furkan Gözükara
sorry but i don't help with NSFW stuff.
elbron bolido
how to remove nfsw filter ?
Furkan Gözükara
you are welcome
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.
Furkan Gözükara
wow interesting. i think this could be due to buggy coding of the roop.
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.
DreamFilm VFX
thank you then for now :)
Furkan Gözükara
yes 4 gb not sufficient. use google colab it is working :)
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 :)
Furkan Gözükara
what is your GPU ? could be related that you are getting out of VRAM
DreamFilm VFX
after that error, the process continues, but after some frames, again appears, and so on. what is this?
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_);
Furkan Gözükara
great
DreamFilm VFX
thank you! i try now! i'll coming back with the result :)
Furkan Gözükara
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
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
Furkan Gözükara
yes it has. so NSFW won't work
Nobodys Hero
Is there some kind of NSFW filter on it?
Furkan Gözükara
you are welcome. thanks for letting me know
Furkan Gözükara
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?
flyingforward
Furkan Gözükara
nice
AshHir
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 !
Furkan Gözükara
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.
AshHir
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 ?
Furkan Gözükara
Hello. I just attached to the post face.png and video.mp4. can you test them and verify if installation is working or not?
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
Furkan Gözükara
nice
Piotr Kocel
that just worked. Thanks so much :)
Furkan Gözükara
nope it should work perfectly fine. you just need c++ tools and ffmpeg installed correctly.
Furkan Gözükara
you need to have c++ tools installed. after that you need to reinstall roop from scratch
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 . . .
Piotr Kocel
I've installed it. However, may be missing the optional components from the list - these need to be checked off manually right?
Furkan Gözükara
you probably missed installing c++ tools. sorry for late reply : check out c++ tools install screenshot.png
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.
Furkan Gözükara
yes i have both colab and runpod installer. did you solve your issue?
Rafał Ryniak
works perfectly
Rafał Ryniak
there was no question, I'm checking if your colab notebook file will start for 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
Furkan Gözükara
you are welcome. thanks for supporting me
nn007nn
Thanks!
Furkan Gözükara
You are welcome
Tiago4D
Nice! Thank you very much!
Furkan Gözükara
thank you so much for your support
James 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!