man the google collab does it's job but video became very noisy and pixellated , i've checked on github and it says the project is closed but still svailable , why is that ? why so pixellation ? i coul've download the gui version myself but my pc is potato
@@programming_hut I made a video with the colab that Hut changed. But the speed of the video result is slow and the sound is not maching. Why is that?
so it works, yes, but video quality in my case dropped significantly to the point that everything kinda pixelated. The video source was 720p & 60fps in good quality
A lot of files just ends after the set-det 640-640 and then frame grabbing part. Is it because of the resolution? Can't find face? Number of frames? I can only get a single old video to work
Hi, everything was working correctly, until I received this message in the last step: python3: can't open file '/content/run.py': [Errno 2] No such file or directory Do you have an idea of how can I fix this issue? Thanks!
Bro , how to deal with the slowness of Google coalb while making deepfake videos, recently google colab getting slower. It takes hours to make 1 minute video. Hope you answer me so soon
Hi thank you for the tutorial. I noticed you have changed the codes a bit from the video. I followed every step but when I ran the last step, the runtime finished after downloading from github reached 100%, meaning there is not status or processing or any feed back the video is rendered. Do you know why this is?
I have a problem where the beginning few seconds of the swapped video is just green screen and audio before the video appears, any way I can fix this ?
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pydantic 2.2.1 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible. pydantic-core 2.6.1 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. tensorflow-metadata 1.14.0 requires protobuf=3.20.3, but you have protobuf 4.23.4 which is incompatible. i got this error after cloning, pls help
same for me GPU Support Part is not present It is set for me, the deep fake process is shorter than in the video. without error message but also without a successful message
Hello, I'm encountering this kind of error ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pydantic 2.2.1 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible. pydantic-core 2.6.1 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. tensorflow-metadata 1.14.0 requires protobuf=3.20.3, but you have protobuf 4.23.4 which is incompatible.
i'm getting this error :I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-06-06 23:07:34.626913: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT usage: run.py [-h] [-f SOURCE_IMG] [-t TARGET_PATH] [-o OUTPUT_FILE] [--keep-fps] [--keep-frames] [--all-faces] [--max-memory MAX_MEMORY] [--cpu-cores CPU_CORES] [--gpu-threads GPU_THREADS] [--gpu-vendor {apple,amd,intel,nvidia}] run.py: error: ambiguous option: --gpu could match --gpu-threads, --gpu-vendor
Thanks for the tutorial. How can I obtain a more optimal final result? the generated .mp4 video is of poor quality and sometimes the inserted face looks like a sawtooth effect
If you’re concerned about privacy, run it locally then if your PC can handle that. Follow documentation to install or here i have video for installing locally One-Click Deepfake creation Method | step by step | roop GitHub | deep learning th-cam.com/video/W8xaFW-2UR8/w-d-xo.html
Copy and paste these texts on yours and it should work !python run.py --target /content/NAME OF YOUR VIDEO.MP4 --source /content/NAME OF YOUR PICTURE.JPG -o /content/swapped.mp4 --execution-provider cuda --frame-processor face_swapper face_enhancer
If face in the picture wears glasses (or sunglasses) Roop will erase the glasses, then replaces face in the video but it does not erase clear. Roop can not choose to reserve the glesses (or sunglasses) in the video. Can this problem be solved ?
Traceback (most recent call last): File "/content/roop/run.py", line 3, in from roop import core File "/content/roop/roop/core.py", line 20, in import roop.ui as ui File "/content/roop/roop/ui.py", line 15, in from roop.predictor import predict_frame, clear_predictor
Hey man! Awesome channel! unfortunately, I'm failing to upload any video file...I am a very advanced pc user + 3d artist, so most chances I'm doing everything right. Any help, bro?
WARNING: The following packages were previously imported in this runtime: [PIL,numpy] You must restart the runtime in order to use newly installed versions. Please Sir Solve My problem i will give you 10 subscriber
It was working well till yesterday but today it is showing this error Argument -f and --face are deprecated. Use -s and --source instead. Traceback (most recent call last): File "/content/roop/run.py", line 6, in core.run() File "/content/roop/roop/core.py", line 227, in run parse_args() File "/content/roop/roop/core.py", line 79, in parse_args roop.globals.output_path = normalize_output_path(args.source_path_deprecated, roop.globals.target_path, args.output_path) File "/content/roop/roop/utilities.py", line 83, in normalize_output_path if os.path.isdir(output_path): File "/usr/lib/python3.10/genericpath.py", line 42, in isdir st = os.stat(s) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType Can you help me?
Hi and thank you i have this problem when i click on the process: File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 401: Unauthorized
Check out another website for faceswap: bit.ly/3wluVzV
while processing the deepfake video:
python3: can't open file '/content/roop/roop/run.py': [Errno 2] No such file or directory
same sht
find the fix?
Edit-Fixed it
@@kartikashri not realy.may be wrong format of video,i find another way from oython
@@BY3B I found the solution
Every process is getting completed but not getting the swapped video. Its required for my project please help dude
can't open file '/content/run.py': [Errno 2] No such file or directory...it was it say when I try the last past...what can I do??
not working
it giving me the warning in end that plz select the img carrying face although img contain face
I do everything you say but it never creates the video...
Explicit content will not work
man the google collab does it's job but video became very noisy and pixellated , i've checked on github and it says the project is closed but still svailable , why is that ? why so pixellation ? i coul've download the gui version myself but my pc is potato
Change the video quality from 80 to 10
Hello google colab isn´t working, because i can´t upload the video.
set det-size: (640, 640)
100% 3/3 [00:01 00:00, 1.72it/s]
Sir after these lines the deepfake process was stoping. Please tell any solution
same question
wont work with porn
@@lewisjaygomes1617 i dont use porn video
@@lewisjaygomes1617 i didnt use it on porn since i already know it wont work i was using it on genshin cosplayer before it work but now its doesnt
@@lewisjaygomes1617 🤣🤣🤣
Thank you hut...
I made a video with the colab that Hut changed. But the speed of the video result is slow and the sound is not maching. Why is that?
I will check that give me some time
The deepfaking section is not showing status after completion and video is not downloaded
python3: can't open file '/content/run.py': [Errno 2] No such file or directory
same error
i have problem like this - python3: can't open file '/content/run.py': [Errno 2] No such file or directory
try again, or run first cell again
@@programming_hut I made a video with the colab that Hut changed. But the speed of the video result is slow and the sound is not maching. Why is that?
so it works, yes, but video quality in my case dropped significantly to the point that everything kinda pixelated. The video source was 720p & 60fps in good quality
do 18 instead of 80
the video saved as:/ content/swapped-XXX/mp4
Status: swap successful!
yet i cant find download that . pls help
I don't get the swapped file....
I'm getting run.py error arguments
I get this error when I run that deepfake script
python3: can't open file '/content/run.py': [Errno 2] No such file or directory
How do i fix this?
I don't see the GPU support tab
A lot of files just ends after the set-det 640-640 and then frame grabbing part. Is it because of the resolution? Can't find face? Number of frames? I can only get a single old video to work
wont work with porn
Found no nvidia disk in your driver ...
Why??
Yo it gives me an error while making the deepfake : value error zero size array to reduction operation maximum which has no identity
If i done not show in me the video they show me a foder and in the folder alotf photos swped but i want video not photos i hope to understand me
i get note: Unable to connect to backend GPU
Currently you cannot connect to the GPU due to usage limits in Colab. Can u help me?
Need to upgrade gpu. Not enough ram in free version
Hello. I can't find GPU support cell in the roop colab
same
The quality seems to be downloaded in 144 pixels. Any solution to download with quality?

😢😢😢
Try this till i get resolved
facefusion | installation | deep fake | swap faces | face enhancer
th-cam.com/video/LQ6NrvopES0/w-d-xo.html
Hi, everything was working correctly, until I received this message in the last step: python3: can't open file '/content/run.py': [Errno 2] No such file or directory
Do you have an idea of how can I fix this issue? Thanks!
Check your working directory and navigate to correct one
once we close the session then next time again i have to follow the entire procedure next day?
bhai ye stap kam nhi kar rha hai
is there a way to swap the face on one person in the target video not all the people
Is there a way to reduce the FPS of the downloaded video? It seems it's always set to 30 frames per second.
Hello, how can i make gpu of mac m1 maxping. My mac only use 15-20% gpu even i using coreml
Hiya simple thing the copy in to deep fake the paths not entering is there way put copiedpaths in
Does the ai tool work with longer video like around 1 min ?
Is their an image to image?how?
Everything completed but did not generate any swapped file
Yes bro same problem 😅
Same Here
Do you have any solution???
@@amolbhingare same did you get a solution ?
@@prakashvanjara5475 same did you get a solution ?
same problem
Bro , how to deal with the slowness of Google coalb while making deepfake videos, recently google colab getting slower. It takes hours to make 1 minute video. Hope you answer me so soon
Either upgrade to premium, or use another gpu cloud service to run the script
Hi thank you for the tutorial. I noticed you have changed the codes a bit from the video. I followed every step but when I ran the last step, the runtime finished after downloading from github reached 100%, meaning there is not status or processing or any feed back the video is rendered. Do you know why this is?
same question
you got an error in the 1st section?
[Errno 2] No such file or directory
I have a problem where the beginning few seconds of the swapped video is just green screen and audio before the video appears, any way I can fix this ?
swapped video quality is low
what's the error unrecognized video quality?
bhai python run.py command kaam nahi kar raha module error type dikhra h pls help me
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pydantic 2.2.1 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible.
pydantic-core 2.6.1 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible.
tensorflow-metadata 1.14.0 requires protobuf=3.20.3, but you have protobuf 4.23.4 which is incompatible.
i got this error after cloning, pls help
for 20sec video it only gives output for 4 sec on it but let me see.
can you tell me why i use google colab pro with gpu v100 like deepfake the face sometimes changes constantly?
/bin/bash: -c: line 1: syntax error near unexpected token `('
The notebook opens without the 'GPU Support' part.
Has it been updated and no longer needs it?
Goto runtime to change runtime to gpu
@@programming_hut It was set to gpu
same for me
GPU Support Part is not present
It is set
for me, the deep fake process is shorter than in the video.
without error message
but also without a successful message
can i do it with only images?
Hello, I'm encountering this kind of error
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pydantic 2.2.1 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible.
pydantic-core 2.6.1 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible.
tensorflow-metadata 1.14.0 requires protobuf=3.20.3, but you have protobuf 4.23.4 which is incompatible.
aignore it and proceed
Can we do this same process on mobile
GPU SUPPORT NOT SHOWING
I think there is a limit for videos with some nudity: the operation is not completed, unlike normal videos
yeah how do we disable the thing that doesnt allow porn?
Frames not found aa rha h
i'm getting this error :I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-06-06 23:07:34.626913: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
usage: run.py
[-h]
[-f SOURCE_IMG]
[-t TARGET_PATH]
[-o OUTPUT_FILE]
[--keep-fps]
[--keep-frames]
[--all-faces]
[--max-memory MAX_MEMORY]
[--cpu-cores CPU_CORES]
[--gpu-threads GPU_THREADS]
[--gpu-vendor {apple,amd,intel,nvidia}]
run.py: error: ambiguous option: --gpu could match --gpu-threads, --gpu-vendor
hi, I have updated the command, now try, it should work. thanks, for letting me know.
@@programming_hut Amazing. Works perfectly! Thank you so much!
@@natesbrooks is it working for you dude ???
bro my video is on PNG how bro?
Hi, It was working for a while now a new problem... Argument -f and --face are deprecated. Use -s and --source instead. Any ideas?
I have updated the colab notebook
Try to open the updated one from descriptive
@@programming_hut
works?
@@programming_hut does this version of roop colab have the NSFW issue? if yes can you please explain how to disable it? thaks man
Thanks for the tutorial.
How can I obtain a more optimal final result? the generated .mp4 video is of poor quality and sometimes the inserted face looks like a sawtooth effect
Getting Error today.. previously working fine
Same im getting error HTTP erorro 401
What to do
Same problem here
fixed try it now
also getting error 401 7 hours later .. i tried 3 different roop colab versions and all getting error even tho they worked before@@programming_hut
I show error 401 unrecognised please help me 😢😢😢😢😢
fixed try it now!
@@programming_hut please tell us what is the fix and what is that change that we should do before trying again
Isn’t it running now ?
there was change in roop code that it load model from models directory; i added line for handling that.
stopped working mate, any update?
I just tried, it is working fine.
Sir there is an error showing unrecognized video quality what to do?
Same question ❓
Bro why don't you reply to messages
Its fixed try again
Please make a video on how to run roopcam in real time on google colab
error : video quality 18, how to fix it
fixed! now try.
How can i enable nsfw content?
model kiu download karna padega
What about privacy.
Is there any chance to get data leaked?
If you’re concerned about privacy, run it locally then if your PC can handle that.
Follow documentation to install or here i have video for installing locally
One-Click Deepfake creation Method | step by step | roop GitHub | deep learning
th-cam.com/video/W8xaFW-2UR8/w-d-xo.html
Do i have to run the clone repo, etc, everytime?
Yes every-time you reopen that tab
If at same time you want to clone multiple video then no need just run last cell with updated video names
I was going to comment, but not much point, don't waste your time guys, there is over 100 comment questions and NOT a single one answered
does it take more memory ?
how to install locally because upload video to colab is too slow
One-Click Deepfake creation Method | step by step | roop GitHub | deep learning
th-cam.com/video/W8xaFW-2UR8/w-d-xo.html
Please send GPU code to install
error: unrecognized arguments: --video-quality 18
Found any solution ??
Copy and paste these texts on yours and it should work
!python run.py --target /content/NAME OF YOUR VIDEO.MP4 --source /content/NAME OF YOUR PICTURE.JPG -o /content/swapped.mp4 --execution-provider cuda --frame-processor face_swapper face_enhancer
@@mestesso2247this worker thanks
I see that you use google colab, what happens if I have my own equipment with a good gpu?
U can do that
bro how to swap faces if the video have multiple faces ??
use Automatic1111 version of ROOP. You can change up to 5 faces, they will all be the same though 🤔
The 1.3.2 version has a toggle that says many faces
Hi, does this run faster than your previous tutorial or is the other one preferable?
Depends on your machine configurations
How to replace that file
And is this a for win 10 work
How to change fps to 50? How to change the quality of video(How increase Bitrate?)
Can you create a video on create a api anddeploy it on AWS
I'm getting.... [WARNING] Please select an image containing a face.
Face not detected try selecting better clear image
@@programming_hut Thanks but I've tried different combinations. I'll continue to work on it.
not working
Bro I tried this on my mobile Chrome desktop site and it still worked perfectly
If face in the picture wears glasses (or sunglasses) Roop will erase the glasses, then replaces face in the video but it does not erase clear.
Roop can not choose to reserve the glesses (or sunglasses) in the video. Can this problem be solved ?
Traceback (most recent call last):
File "/content/roop/run.py", line 3, in
from roop import core
File "/content/roop/roop/core.py", line 20, in
import roop.ui as ui
File "/content/roop/roop/ui.py", line 15, in
from roop.predictor import predict_frame, clear_predictor
Works well, hilarious result, thanks for sharing!
Hi friend,
Thank you for sharing. I'm always happy and lucky to learn from you. God bless you!
Thanks,
Chetan from Kandivali, Mumbai, India :)
bro really wrote a whole ass letter
Hey man! Awesome channel! unfortunately, I'm failing to upload any video file...I am a very advanced pc user + 3d artist, so most chances I'm doing everything right. Any help, bro?
its porn it wont work. im trying to find a way around it but idk anything about python or coding
@@lewisjaygomes1617did u find any solution for this one
doesn't work
what not? I just tried, it is working great, in fact I added more args which can convert to fullest quality.
@@programming_hutnew tutorial please 🙏
WARNING: The following packages were previously imported in this runtime:
[PIL,numpy]
You must restart the runtime in order to use newly installed versions. Please Sir Solve My problem i will give you 10 subscriber
I have same question
Thanks.
Anytime I hear the words google collab I cringe. Why you would trust your stuff to Google is behond me.
Huggyface error
fixed try it now!
Took 6 hours for 1.39 min video, didn't create shit
Thnx
It was working well till yesterday but today it is showing this error
Argument -f and --face are deprecated. Use -s and --source instead. Traceback (most recent call last): File "/content/roop/run.py", line 6, in core.run() File "/content/roop/roop/core.py", line 227, in run parse_args() File "/content/roop/roop/core.py", line 79, in parse_args roop.globals.output_path = normalize_output_path(args.source_path_deprecated, roop.globals.target_path, args.output_path) File "/content/roop/roop/utilities.py", line 83, in normalize_output_path if os.path.isdir(output_path): File "/usr/lib/python3.10/genericpath.py", line 42, in isdir st = os.stat(s) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Can you help me?
I’ll update colab notebook soon
@@programming_hut thanks and please leave a message when you are done updating it
same issue here, yesterday it was working fine.. Kindly provide a solution.. Thanks in advance
Hi, I have updated the colab notebook, now you can try it is working fine.
@@programming_hut still the same problem
Showing “Unrecognized Argument: - Video quality 18”
same problem
yes, i too face the same problem, how to fix this
Fixed
Hi and thank you
i have this problem when i click on the process: File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
ERROR: Cannot install -r requirements.txt (line 4), -r requirements.txt (line 5), -r requirements.txt (line 6), numpy==1.23.5 and onnxruntime-gpu==1.15.0 because these package versions have conflicting dependencies. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ HELP $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$