🔥 Deep Live Cam - How-To Use - th-cam.com/video/I5emQaYzDYU/w-d-xo.html 🔥 Flux WebUI - Run Flux-1 Dev and Flux-1 Schnell Locally in Gradio GUI - th-cam.com/video/EZZ0cEJwZLA/w-d-xo.html 🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv 🔥 Buy Me a Coffee to support the channel: ko-fi.com/fahdmirza
Hi, I’ve just subscribed to your channel. However, I’m having issue installing it on my pc. My pc has nvidia rtx 2060 6GB. I watched your installation video and when it gets to insightface it throws an error and I can’t get past that. Can you pls help?
Small correction, to check the version of CUDA which is installed "nvcc --version" is what I personally would use as nvidia-smi shows general information about the graphics drivers iirc.
I followed everything in your video, but when creating a video or using Live mode, the quality is just terrible, while yours looks great. What could be wrong? My computer specs: GPU - Nvidia GeForce RTX 4060 TI CPU -12th Gen Intel(R) Core(TM) i5-12400F 2.50 GHz Memory - 32 GB
I'm not quite sure if it's running on GPU. When extracting frames CPU usage is at 99%. However, the other processes seem to run on GPU but it's not using all of the VRAM. 11-12GB out of my 16 from the 4080S. Is that normal?
thank you for the video, but whenever I try to install git and ffmpeg it say timeout or your choice of choco install ffmpeg or git is not a vaild selection.. Please what should I do?
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
bro, i have rtx 3060 and in all the tests I did, the face swapping was never good, very "BUGGED" you know? Why does this happen? I did everything as instructed in the repository
Despite Running the CUDA version it is only utilizing my CPU and not the GPU. I believe it might be because I don't have that correct CUDA version installed? I have a newer version that I already had previously, should I downgrade it for this?
HeY fahad...thanks for putting up this video. I got this working as per your instructions....but it stops at the face enhancer - does not process that. I put the models in the model folder....any idea what to do?
@@fahdmirza Actually once it's done part 1 and then moves onto processing...the progress just says at 0% and does not move forward. Without image enhancing, the end result is un-usable
it uses only on cpu and gpu stays 0 even after providing execution provider cuda and while face enhancer option enabled it works with only on 2 fps why? needed help
The program opens but i get this message when i start the live button. any ideas? INVALID_PROTOBUF : Load model from C:\Users\xxxxx\deep-live-cam\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.
Please see if you find solution to your error in this video: 🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
i did everything but when i try and check the version of the programs in powershell it says" the term"___" is not recognized as the name of a cmdlet, function, script file, operable program. plz help
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Interesting thing happens in my case. Specs: Have a laptop with an intel processor and nVidia 3080 TI GPU. Behaviour1: Starting the program with execution provider CUDA still seems to use only the processor, as it is under 100% usage while the dedicated GPU is at 0% usage. Behaviour2: The program runs and finalizes the task, however the output is displaying the target with a dark / black square over the face. Some suggestions: In the video it would be nice if you'd show the terminal as well after starting the program to see if any warnings or errors come in the background. In my case when pressing start I see some error messages which have to do with: "LoadLibrary failed with error 126 "" when trying to load site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" Moreover there you could also see the progress in percentages and live evolution. Curious if any of you encountered the above. Cheers!
Please see if you find solution to your error in this video: 🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
I have the same problem run.py: error: argument --execution-provider: invalid choice: 'cuda' (choose from 'azure', 'cpu') And it did run when I choose azure but it was fainty
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
hi thankyou for your very informative tutorial. i installed everything but i can only run with AZURE command in startup. but i got message after loading that Frame Enhancer is not found. and when i switch to live it shows black screen. although the normal windows camera app is running fine. please give me suggestions what i miss. thanks
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
error in : choco install git / See: Unable to resolve dependency: Unable to find a version of 'chocolatey-core.extension' that is compatible with 'git.install 2.46.0 constraint: chocolatey-core.extension (>= 1.3.3)', 'vcredist140 14.40.33810 constraint: chocolatey-core.extension (>= 1.3.3)'. Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures - git - Unable to resolve dependency: Unable to find a version of 'chocolatey-core.extension' that is compatible with 'git.install 2.46.0 constraint: chocolatey-core.extension (>= 1.3.3)', 'vcredist140 14.40.33810 constraint: chocolatey-core.extension (>= 1.3.3)'.
Please see if you find solution to your error in this video: 🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Does it work without GPU? How so? Is it limiting the quality of the video or just taking longer? IMO an option to choose either would be nice :). Very cool project, keep up the good work!
I have already installed all the steps but I get this error, how do I fix it please? The live camera does not load and when I download the videos, the video does not appear either, it cannot be opened. AttributeError: 'NoneType' object has no attribute 'shape'
Thanks for the Tutorial. Im facing a problem. As soon as i click to the Live Button, it goes live with my Elgato Capture Card. So i cant use my Cam. Any Ideas how to change that without deactivating my Capture Card?
I have downloaded everything but the Deep-Live-Cam is very slow it take 5 mins to load !!! Whiles it gives me Not Responding!! The FPS is 0.8 please help me
Sorry I am confused, am I going to download git and the other things from chrome or I will just install it directly on Powershell after I install the choco. Thank you
Hello and thanks, it works maybe better than DeepFaceLive, but anyway I got this error "Frame processor face_enhancer not found" have any idea how to fix it? I'm thinking that with face enhancer fixed it will works even better!
It normally occurs due to inswapper_128_fp16.onnx file in models. When I changed it to another model file in a different resource (github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128_fp16.onnx)
Hi Is it possible to route the live view to for example Teams? I really want to show this as an awareness for my company in a video conference :) Thank you very much, great work!
thats weird, as it should be there. May be they are updating the interface or something as its quite actively evolving project. Or may be try refreshing your browser. Sometime , a local browser policy also disables radio buttons
Completed the Cuda installation but when I try to check for it on power shell it doesn’t show ,also when I try to gitclone it doesn’t complete everything ,any solutions?
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
ERROR: Failed building wheel for insightface Failed to build insghtface ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insight face) i have installed Microsoft Visual Studio Build tools installed already what do i do please?
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Well anyways if you're planning for using this program seriously then you should consider having a good hardware so having an Nvidia GPU is pretty much a prerequisite for this.
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
i get the following error PS C:\Windows\system32\Deep-Live-Cam> python run.py Traceback (most recent call last): File "C:\Windows\system32\Deep-Live-Cam un.py", line 3, in from modules import core File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in import torch ModuleNotFoundError: No module named 'torch'
Greetings. I tried to install this program on my PC, but I did not get the final result, everything was done consistently as in the video can you help with the installation?
I MAY have figured it out. When installing the PIP, leave it to install for ages. Theres a while there where it looks like its doing nothing, but if you exit early, the torch files dont install correctly.
Hello! Thanks a lot, I installed everything, but when I turn on the webcam I get AttributeError: 'NoneType' object has no attribute 'shape' in Windows Powershell, also happens when I want to change the face on the video. Please help me
PS C:\WINDOWS\system32\Deep-live-cam> pip install -r requirement.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt' WARNING: You are using pip version 21.2.3; however, version 24.2 is available. You should consider upgrading via the 'C:\Python310\python.exe -m pip install --upgrade pip' command. PS C:\WINDOWS\system32\Deep-live-cam> at this point am confused
After I cloned git deep live on my local system i cant find any Folder in C:\Users\angel\Deep-Live-Cam\ \Deep-Live-Cam\ doesnt exist Edit: I found it in the Sytem 32 Folder. Can i move it somewhere els because it wont allow me to save the link there because its the system 32 folder or would that break it?
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
I'm having a long line of error while trying to install Pip install -r requirements The rest was smooth, but i don't know why I'm having the error. Please I need your assistance
yes i had the same issue you need to make sure visual studio is installed correctly, make sure torch py is installed, id ask chat gpt to help you paste the errror messages from powershell into chat gpt
Can't get it to run. A handful of issues like, "opencv-python 4.8.1.78 depends on numpy>=1.17.0; python_version >= "3.7"". I tried changing the requirements txt to remove the specific versions but can't get it working. Suggestions?
I get an error: (all pre-requisites installed) PS C:\Windows\system32\Deep-Live-Cam> python run.py Traceback (most recent call last): File "C:\Windows\system32\Deep-Live-Cam un.py", line 3, in from modules import core File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in import torch ModuleNotFoundError: No module named 'torch'
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for insightface Failed to build insightface ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface) please help then when i run command python run.py --execution-provider cuda it says ModuleNotFoundError: No module named 'torch'
Hello. My interface launches successfully, but in Windows PowerShell, the program stops with the error: File "C:\python\lib\site-packages\insightface\model_zoo etinaface.py", line 211, in detect im_ratio = float(img.shape[0]) / img.shape[1] AttributeError: 'NoneType' object has no attribute 'shape' and no result is returned. Help me please
Please see if you find solution to your error in this video: 🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Can someone help me? I managed to install it but when I put it live the camera doesn't open, there's a gray screen in the preview tab and the Powershell prompt says it's an error in the CPU, when I open it directly on the CPU It works very slow, like 2 fps, and it heats up the PC a lot. It should work better on my card, how do I make it work?
I have a problem Run Command pip install -r requirements.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
i’m having the issue where torch isn’t being found but i look earlier in the code and see when i install requirements.txt it ignores torch and onnruntime?
while installing the requirements several libraries give errors as the versions specified in the requirements.txt file are no longer available from pip
How do I start up the code again after turning on my system, My PC went off and I will like to restart the cam code since I already completed the installation and activation. can someone put me through on what to do?
Please help ,i did everything to the very last end and when i run python run.py --execution-provider cuda , then i get this error . Traceback (most recent call last): File "run.py", line 3, in from modules import core File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 20, in import modules.ui as ui File "C:\Windows\system32\Deep-Live-Cam\modules\ui.py", line 10, in from modules.face_analyser import get_one_face File "C:\Windows\system32\Deep-Live-Cam\modules\face_analyser.py", line 5, in from modules.typing import Frame File "C:\Windows\system32\Deep-Live-Cam\modules\typing.py", line 7, in Frame = numpy.ndarray[Any, Any] TypeError: Type subscription requires python >= 3.9
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Honestly wanna thank you for making this video, but given all the complicated stuff you have to do and the fact that I have a crappy laptop, this probably aint for me, which sucks because I had a pretty innocent use for this program (I wanted to use faceapp filter pictures I've taken and put it on my face in real time to mess around with them and see how they looked) But alas, maybe another time.
Traceback (most recent call last): File "C:\Windows\system32\Deep-Live-Cam un.py", line 3, in from modules import core File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 20, in import modules.ui as ui File "C:\Windows\system32\Deep-Live-Cam\modules\ui.py", line 3, in import customtkinter as ctk ModuleNotFoundError: No module named 'customtkinter' PS C:\Windows\system32\Deep-Live-Cam> this the error
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
@@fahdmirza i have tried it again, and it keep facing the same problems, when in installing requirement.txt, always said failed in build wheel for insightface, try to looking in internet and youtube for the solutions and try but didnt works also
Finally i can pass the requirements.txt, found the solutions in youtube, using anaconda prompt, but now im stuck in : "cuda driver version is insufficient for cuda runtime version" Problems Is it because previously i cannot run nvidia-smi? Because when i try that nvida-smi cmd, it said nvidia -smi is not recognized as an internal or external command operable program or batch file
Finally it works, but without cuda, so i used cpu , but my laptop seems unqualified for this one, if im using gpu, will it works faster and better than using cpu? For video when im using cpu, it execute well, but for live it so lagging 😅
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python310\\Scripts\ ormalizer.exe' -> 'C:\\Python310\\Scripts\ ormalizer.exe.deleteme' how do i solve this pls
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Traceback (most recent call last): File "C:\Windows\system32\Deep-Live-Cam un.py", line 3, in from modules import core File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in import torch File "C:\Python310\lib\site-packages\torch\__init__.py", line 148, in raise err OSError: [WinError 126] The specified module could not be found. Error loading "C:\Python310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies. HELP ME PLS!!
@@fahdmirza at 7:43 in the video when I run the command it gives me the error "'pip' is not recognized as the name of a cmdlet, function, script file, or operable program." I made sure I was in the correct directory before I ran the program as well. I'm not sure why it's saying it.
Please see if you find solution to your error in this video: Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
🔥 Deep Live Cam - How-To Use - th-cam.com/video/I5emQaYzDYU/w-d-xo.html
🔥 Flux WebUI - Run Flux-1 Dev and Flux-1 Schnell Locally in Gradio GUI - th-cam.com/video/EZZ0cEJwZLA/w-d-xo.html
🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
🔥 Buy Me a Coffee to support the channel: ko-fi.com/fahdmirza
Can I use python 3.12?
Which I used for avatarify installation
Hi, I’ve just subscribed to your channel. However, I’m having issue installing it on my pc. My pc has nvidia rtx 2060 6GB. I watched your installation video and when it gets to insightface it throws an error and I can’t get past that. Can you pls help?
Can Mac Pro Work
3.5 GHz Dual- Core intel core i7
intel iris Plus Graphics 650 1536 MB
Small correction, to check the version of CUDA which is installed "nvcc --version" is what I personally would use as nvidia-smi shows general information about the graphics drivers iirc.
nvidia-smi is fine.
I followed everything in your video, but when creating a video or using Live mode, the quality is just terrible, while yours looks great. What could be wrong? My computer specs:
GPU - Nvidia GeForce RTX 4060 TI
CPU -12th Gen Intel(R) Core(TM) i5-12400F 2.50 GHz
Memory - 32 GB
It is still too early for this type of project to work 90%.
make sure its running on GPU.
LOL bor 4060 TI when its requirement is only 2060💀💀💀
@@fahdmirza I have rtx 4080 and i9-14900HX. Still terrible quality. Even my webcam is of good quality yet the output is terrible
@@VortexFlickens Make sure its running on GPU.
Wonderful work! Do you know what is the pixel size limit for the image and the target video?
Let me check the pixel size if I could find it.
i think it is 640 x 640
this is great - but im actually looking to swap faces illustration/cartoon images to that of my nephews. What is the best please ?
I'm not quite sure if it's running on GPU. When extracting frames CPU usage is at 99%. However, the other processes seem to run on GPU but it's not using all of the VRAM. 11-12GB out of my 16 from the 4080S. Is that normal?
I’m not sure it runs on GPU just nvidia
thank you for the video, but whenever I try to install git and ffmpeg it say timeout or your choice of choco install ffmpeg or git is not a vaild selection.. Please what should I do?
Hi there.. Does anyone know the minimum requirements? and better GPU or CPU. I have a RTX 12GB and 16GB RAM.. thanks
I have observed that it struggles a lot any VRAM below 24GB. Ideally, I would suggest anything like 48GB VRAM especially if you are live. Thanks.
hi thank you sir for the great video but I want to know your opinion on this app vs deep face live? you think this one better?
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Thats not what he asked dummy@@fahdmirza
Is there a bulk create function and what about chance background? And full body movement to another
Not at the moment.
Yup to bad this got errors bout to do what ur thinking n fuck hooly wood uo lolololol
Does it’s work in all kind of laptops or only gaming laptops ?
you need GPU.
Quick question, how does one access the UI (users interface) apparently changing the size of the image helps fix fps and lag
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
@@fahdmirza sadly it’s not, it’s not specifically an error it’s more of a need to import the module files and accessing the UI
Thank you! You won a new sub
Awesome, thank you!
bro, i have rtx 3060 and in all the tests I did, the face swapping was never good, very "BUGGED" you know? Why does this happen? I did everything as instructed in the repository
Hi, plz see this video for further info and any troubleshooting tips : th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=-zong7Sa__Zbs0Fj
hi pls can you explain this better A6000 or A5000 GPU rental,
see the video description with link and 50% discount coupon code to the GPU card. A6000 is better.
Despite Running the CUDA version it is only utilizing my CPU and not the GPU. I believe it might be because I don't have that correct CUDA version installed? I have a newer version that I already had previously, should I downgrade it for this?
yes its version sensitive
HeY fahad...thanks for putting up this video. I got this working as per your instructions....but it stops at the face enhancer - does not process that. I put the models in the model folder....any idea what to do?
Do you get any errors?
@@fahdmirza Actually once it's done part 1 and then moves onto processing...the progress just says at 0% and does not move forward. Without image enhancing, the end result is un-usable
so you are saying that I have no chance running this thing on my GTX 1660 super
You can try it out
it uses only on cpu and gpu stays 0 even after providing execution provider cuda and while face enhancer option enabled it works with only on 2 fps why? needed help
Got it up and running on my 4090, but the feed is super clunky and the face swap is just visual noise?
Same for me :(
Same for me
yeah you would need more VRAM
@@fahdmirza what u mean VRAM?
you need to install some cuda stuff for windows
The program opens but i get this message when i start the live button. any ideas?
INVALID_PROTOBUF : Load model from C:\Users\xxxxx\deep-live-cam\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.
Had that issue as well, needed to DL both model files again.
Please see if you find solution to your error in this video:
🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
What do mean by "DL" @@nokoneffets405
I have an Amd Radeon PC
Will this software still work properly?
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
i did everything but when i try and check the version of the programs in powershell it says" the term"___" is not recognized as the name of a cmdlet, function, script file, operable program. plz help
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
I am using 4gb gtx 1650 and it’s lagging, Do I need cuda toolkit?
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Interesting thing happens in my case.
Specs: Have a laptop with an intel processor and nVidia 3080 TI GPU.
Behaviour1: Starting the program with execution provider CUDA still seems to use only the processor, as it is under 100% usage while the dedicated GPU is at 0% usage.
Behaviour2: The program runs and finalizes the task, however the output is displaying the target with a dark / black square over the face.
Some suggestions:
In the video it would be nice if you'd show the terminal as well after starting the program to see if any warnings or errors come in the background. In my case when pressing start I see some error messages which have to do with:
"LoadLibrary failed with error 126 "" when trying to load site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
Moreover there you could also see the progress in percentages and live evolution.
Curious if any of you encountered the above.
Cheers!
Please see if you find solution to your error in this video:
🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Hi and thanks for the tutorial ! But how to make it work live ???
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Is there anyway to improve the lip movements? Thanks!
No, sorry
Bro I would need your assistance plz to get this installed. Can I get your WhatsApp number?
hello friend, i am only getting the option to execute with azure and cpu, not cuda. do you know a fix to get cuda to work? i have it installed.
I have the same problem
run.py: error: argument --execution-provider: invalid choice: 'cuda' (choose from 'azure', 'cpu')
And it did run when I choose azure but it was fainty
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
I get error “could not build wheels for insightface which use pep 517 and cannot be installed directly”
Try updating pip.
hi thankyou for your very informative tutorial. i installed everything but i can only run with AZURE command in startup. but i got message after loading that Frame Enhancer is not found. and when i switch to live it shows black screen. although the normal windows camera app is running fine. please give me suggestions what i miss. thanks
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
error in : choco install git / See: Unable to resolve dependency: Unable to find a version of 'chocolatey-core.extension' that is compatible with 'git.install 2.46.0 constraint: chocolatey-core.extension (>= 1.3.3)', 'vcredist140 14.40.33810 constraint: chocolatey-core.extension (>= 1.3.3)'.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- git - Unable to resolve dependency: Unable to find a version of 'chocolatey-core.extension' that is compatible with 'git.install 2.46.0 constraint: chocolatey-core.extension (>= 1.3.3)', 'vcredist140 14.40.33810 constraint: chocolatey-core.extension (>= 1.3.3)'.
Please see if you find solution to your error in this video:
🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
What your GPU and what your device | laptop and PC
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
@@fahdmirza you are annoying with your replies
Does it work without GPU? How so? Is it limiting the quality of the video or just taking longer? IMO an option to choose either would be nice :).
Very cool project, keep up the good work!
cheers
I have already installed all the steps but I get this error, how do I fix it please? The live camera does not load and when I download the videos, the video does not appear either, it cannot be opened. AttributeError: 'NoneType' object has no attribute 'shape'
There are similar videos on the channel, please search on the channel, thanks.
do you have tutorials on how to run it in OBS live?
it will be same steps
@@fahdmirza how it will be same steps could you explain ?
Thanks for the Tutorial. Im facing a problem. As soon as i click to the Live Button, it goes live with my Elgato Capture Card. So i cant use my Cam. Any Ideas how to change that without deactivating my Capture Card?
may be disable the other card
Whats the gpu requirement. What gpu r u using?
NVIDIA RTX A6000 , but any GPU around or above 24GB VRAM should be good. Ideally I would recommend 48GB VRAM.
How do u change the webcam to external one like Logitech
Any chance for portable installation ?
Would you please elaborate what you mean?
@@fahdmirza I thinks he mean like AUTOMATIC1111 for ex. where you just run some .BAT and it installs all the reqs. and create the separate ENV.
I have downloaded everything but the Deep-Live-Cam is very slow it take 5 mins to load !!! Whiles it gives me Not Responding!! The FPS is 0.8 please help me
Please can i get the Deepfake MacBook tutorial video. Do it work on macbook?
Sorry I am confused, am I going to download git and the other things from chrome or I will just install it directly on Powershell after I install the choco. Thank you
I'm using Windows tho
Can you stream on Twitch and have this in live?
Yes should be fine.
@@fahdmirza can it be connected to whatsapp call?
I use a MacBook Pro 2021 M1 chip model .. will it work ? And how ?
Hi, plz see this video for further info and any troubleshooting tips : th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=-zong7Sa__Zbs0Fj
Hello and thanks, it works maybe better than DeepFaceLive, but anyway I got this error "Frame processor face_enhancer not found" have any idea how to fix it? I'm thinking that with face enhancer fixed it will works even better!
It normally occurs due to inswapper_128_fp16.onnx file in models. When I changed it to another model file in a different resource (github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128_fp16.onnx)
@@fahdmirza I have it
I had the same error, did you find a solution?
Hi
Is it possible to route the live view to for example Teams?
I really want to show this as an awareness for my company in a video conference :)
Thank you very much, great work!
I think it's possible for live. I have used it in teams even for attending instead of my friend 😂
MSI 1584 Katana GF66
16gig ram
512gig SSD
Intel tetradeca-core i7 processor (14-core CPUs)
2.70ghz
Red anti-spill backlight keyboard + numeric keypad
4gig Nvidia graphics RTX 3050
12th generation
1920 x 1080 15.6 inch FHD screen resolution + 144.15hz refresh rate
Will this specs work for it ??
Please cleanup and start from scratch for installation
this might sound a bit odd, but do you know of any specific reason why i don't have the NSFW toggle?
thats weird, as it should be there. May be they are updating the interface or something as its quite actively evolving project. Or may be try refreshing your browser. Sometime , a local browser policy also disables radio buttons
When ll be test on 4090? U have freezing with enbled face enhancer on 4090 or not?I m looking for solution with face enhancer
No you need larger VRAM GPU
@@fahdmirza Can u show?How larger?I want to optimize GFPGAN
@@fahdmirza You dont have freezing with 4090?When you enable face enhancer?
@@fahdmirza I have 4070 ti super
Completed the Cuda installation but when I try to check for it on power shell it doesn’t show ,also when I try to gitclone it doesn’t complete everything ,any solutions?
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
ERROR: Failed building wheel for insightface
Failed to build insghtface
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insight face)
i have installed Microsoft Visual Studio Build tools installed already
what do i do please?
Change thephotos source
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
@@fahdmirza Same error, I also watched the errors fixed video and did a fresh installation but still it says : Failed building wheel for insightface
Download go to visual studio download the build install modify click the c++ and try it again
Do you think there will be possible in the future to do a full face replacing, including hair?
oh yes definitely
any ideas how to make live output shown in discord as a webcam ?
I think that would require writing a wrapper on top of it.
How@@fahdmirza
So this only works if you have an Nvida card? Cuda does not run without an Nvidia GPU.
Well anyways if you're planning for using this program seriously then you should consider having a good hardware so having an Nvidia GPU is pretty much a prerequisite for this.
agreed
So is it possible to do this without doing a video?
yes should be good
the hugging face website link doesnt work anymore how can i still download this?
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
i get the following error PS C:\Windows\system32\Deep-Live-Cam> python run.py
Traceback (most recent call last):
File "C:\Windows\system32\Deep-Live-Cam
un.py", line 3, in
from modules import core
File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in
import torch
ModuleNotFoundError: No module named 'torch'
make sure you install all the pre-requisites like. All code is in the link in video description, thanks.
Greetings. I tried to install this program on my PC, but I did not get the final result, everything was done consistently as in the video can you help with the installation?
same error
I MAY have figured it out. When installing the PIP, leave it to install for ages. Theres a while there where it looks like its doing nothing, but if you exit early, the torch files dont install correctly.
@@kidinacagewhat do you mean by this?
how do you keep the face quality ? i tried mine even thought the selected face is on high resolution, it show low resolution on the output
GPU VRAM is the key
My Powershell says that "pip" is not part of a Cmdlet, function or Script. What did i do wrong ?
Please watch this video th-cam.com/video/p7hjO2ZrfRU/w-d-xo.html
Hello! Thanks a lot, I installed everything, but when I turn on the webcam I get AttributeError: 'NoneType' object has no attribute 'shape' in Windows Powershell, also happens when I want to change the face on the video. Please help me
you just need to copy your photo/video and git folder into folder without unicode symbols, for example on C://myfolder
PS C:\WINDOWS\system32\Deep-live-cam> pip install -r requirement.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt'
WARNING: You are using pip version 21.2.3; however, version 24.2 is available.
You should consider upgrading via the 'C:\Python310\python.exe -m pip install --upgrade pip' command.
PS C:\WINDOWS\system32\Deep-live-cam>
at this point am confused
please search the channel for related videos, thanks.
I‘m in China, and the SSL error is displayed in operation. Is it a network problem? Need a VPN?
whats the error
After I cloned git deep live on my local system i cant find any Folder in C:\Users\angel\Deep-Live-Cam\ \Deep-Live-Cam\ doesnt exist
Edit: I found it in the Sytem 32 Folder. Can i move it somewhere els because it wont allow me to save the link there because its the system 32 folder or would that break it?
No, and you would need admin rights on your system
What are the systems requirement ?
When I click live a small preview tab appears but the whole app just froze and can’t work.
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
I'm having a long line of error while trying to install
Pip install -r requirements
The rest was smooth, but i don't know why I'm having the error.
Please I need your assistance
whats the error
@@fahdmirza whenever I run
"Pip install -r requirements"
I get a long error page.
I don't know if there's a means to send you the picture
anyone know how much HD space is needed to install those?
Its pretty light weight. I will check the space on my system and let you know, thanks
@@fahdmirza thank you
ERROR: Failed building wheel for insightface any help?
yes i had the same issue you need to make sure visual studio is installed correctly, make sure torch py is installed, id ask chat gpt to help you paste the errror messages from powershell into chat gpt
cheers
Can't get it to run. A handful of issues like, "opencv-python 4.8.1.78 depends on numpy>=1.17.0; python_version >= "3.7"". I tried changing the requirements txt to remove the specific versions but can't get it working. Suggestions?
Its very sensitive about requirements and their versions, so please follow it to the dot. Check the code in my blog and link is in video description.
I get an error: (all pre-requisites installed)
PS C:\Windows\system32\Deep-Live-Cam> python run.py
Traceback (most recent call last):
File "C:\Windows\system32\Deep-Live-Cam
un.py", line 3, in
from modules import core
File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in
import torch
ModuleNotFoundError: No module named 'torch'
pip install torch
Thanks.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for insightface
Failed to build insightface
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
please help
then when i run command python run.py --execution-provider cuda
it says
ModuleNotFoundError: No module named 'torch'
i have python version 3.10
pip 24.2
git version 2.46.0.windows.1
ffmpeg latest installed
running on latest vscode version too
i have the same "insightface" issue
I have the same problem
Same
same problem
Can this work on a nvidia gtx1650 4 gigabyte ram?
should be good.
Hello. My interface launches successfully, but in Windows PowerShell, the program stops with the error:
File "C:\python\lib\site-packages\insightface\model_zoo
etinaface.py", line 211, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
and no result is returned. Help me please
I would assume it's due to the program not being able to read frames from your webcam/ capture device since "img" is a NoneType.
Please see if you find solution to your error in this video:
🔥Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Can someone help me? I managed to install it but when I put it live the camera doesn't open, there's a gray screen in the preview tab and the Powershell prompt says it's an error in the CPU, when I open it directly on the CPU It works very slow, like 2 fps, and it heats up the PC a lot. It should work better on my card, how do I make it work?
Please watch this video th-cam.com/video/p7hjO2ZrfRU/w-d-xo.html
i receive the following error when trying to install the requirements: no module named "distutils"
You are not properly installing pre-reqs
your python version has to be 3.10. i had 3.12 installed and was getting the same error until i downgraded.
Can this work on Gtx 1050 4gb dedicated laptop?
you can try, it might be very slow though
I have a problem
Run Command pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Your CMD should be inside the Deep-Live-Cam folder.
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
i’m having the issue where torch isn’t being found but i look earlier in the code and see when i install requirements.txt it ignores torch and onnruntime?
Install it manually with pip
@@fahdmirza install what manually torch?
yes with pip install torch
while installing the requirements several libraries give errors as the versions specified in the requirements.txt file are no longer available from pip
whats your OS?
same issue here
How do I start up the code again after turning on my system, My PC went off and I will like to restart the cam code since I already completed the installation and activation. can someone put me through on what to do?
Hi, plz see this video for further info and any troubleshooting tips : th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=-zong7Sa__Zbs0Fj
why is a black square drawn instead of replacing the face
It means its unable to use face you uploaded. Use a clearer photo as source
Sometimes this works:
pip uninstall onnxruntime onnxruntime-gpu
pip install onnxruntime-gpu==1.16.3
Please help ,i did everything to the very last end and when i run python run.py --execution-provider cuda , then i get this error .
Traceback (most recent call last):
File "run.py", line 3, in
from modules import core
File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 20, in
import modules.ui as ui
File "C:\Windows\system32\Deep-Live-Cam\modules\ui.py", line 10, in
from modules.face_analyser import get_one_face
File "C:\Windows\system32\Deep-Live-Cam\modules\face_analyser.py", line 5, in
from modules.typing import Frame
File "C:\Windows\system32\Deep-Live-Cam\modules\typing.py", line 7, in
Frame = numpy.ndarray[Any, Any]
TypeError: Type subscription requires python >= 3.9
which python version are you using?
Please sir it says run.py: error: argument --execution-provider: invalid choice: 'cuda' (choose from 'azure', 'cpu')
How can i solve this
😮 please what should be done
Please sir say something
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Honestly wanna thank you for making this video, but given all the complicated stuff you have to do and the fact that I have a crappy laptop, this probably aint for me, which sucks because I had a pretty innocent use for this program (I wanted to use faceapp filter pictures I've taken and put it on my face in real time to mess around with them and see how they looked)
But alas, maybe another time.
Thank you.
the process completes but the face gets only a black object!? how to solve it sir?
I answered this in another comment, plz check, thanks
bro ,please give me your : pip install list,how the hell you meet the requirements for jax and onnxtime ,it NEEDS numpy above 24.0 version
You can just create a virtual environment with python 3.10, and then there should be no dependency issue
Agreed, and all the code is in link in video description
Traceback (most recent call last):
File "C:\Windows\system32\Deep-Live-Cam
un.py", line 3, in
from modules import core
File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 20, in
import modules.ui as ui
File "C:\Windows\system32\Deep-Live-Cam\modules\ui.py", line 3, in
import customtkinter as ctk
ModuleNotFoundError: No module named 'customtkinter'
PS C:\Windows\system32\Deep-Live-Cam>
this the error
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
Im stuck when install requirement text, failed in insight face, any solutions for this problem please?
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
@@fahdmirza i have tried it again, and it keep facing the same problems, when in installing requirement.txt, always said failed in build wheel for insightface, try to looking in internet and youtube for the solutions and try but didnt works also
Finally i can pass the requirements.txt, found the solutions in youtube, using anaconda prompt, but now im stuck in : "cuda driver version is insufficient for cuda runtime version" Problems
Is it because previously i cannot run nvidia-smi? Because when i try that nvida-smi cmd, it said nvidia -smi is not recognized as an internal or external command operable program or batch file
Finally it works, but without cuda, so i used cpu , but my laptop seems unqualified for this one, if im using gpu, will it works faster and better than using cpu?
For video when im using cpu, it execute well, but for live it so lagging 😅
@@wch47please I’m stuck here too which anaconda promt ? Can you share me the video ??
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python310\\Scripts\
ormalizer.exe' -> 'C:\\Python310\\Scripts\
ormalizer.exe.deleteme' how do i solve this pls
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv
What computer configuration those this app work on
Hi, plz see this video for further info and any troubleshooting tips : th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=-zong7Sa__Zbs0Fj
Bro you do have a telegram channel or any platforms one can chat directly with you
No, I dont.
Traceback (most recent call last):
File "C:\Windows\system32\Deep-Live-Cam
un.py", line 3, in
from modules import core
File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in
import torch
File "C:\Python310\lib\site-packages\torch\__init__.py", line 148, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Python310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
HELP ME PLS!!
I would suggest, cleanup and then start from scratch and follow the steps I shared. Thanks.
@@fahdmirza I did it and its still the same problem, so, whats up? I have all versions same like you...
What your GPU bro
its mentionedin the video
What gpu do you have?
NVIDIA RTX A6000
Please can I use python 3.12 instead of 3.10?
Please see this video for troubleshooting deep live cam th-cam.com/video/p7hjO2ZrfRU/w-d-xo.html
Is it available for MacBook?
shoudl be good
Using a 5950x and a 3070 and its stuttering like hell :D Guess i need an upgrade for this
yep definitely need bigger GPU
can you give us the requirements.txt manuallay so we can copy i get an error
Already shared all the code and link is in video description.
it doesnt work for me, the output is just a copy of the targer video/ picture unchanged
I would suggest, cleanup everything and start from scratch and make sure to have a good GPU
How do you get pip you forgot to say that in the video and I'm stuck on a step because I don't have it
It mentions python as prerequisite and pip comes with it
@@fahdmirza at 7:43 in the video when I run the command it gives me the error "'pip' is not recognized as the name of a cmdlet, function, script file, or operable program." I made sure I was in the correct directory before I ran the program as well. I'm not sure why it's saying it.
@@foxivus7123 create a new path for pip exe directory in enviroment variables
does anyone have aproblem with the program window being transparent? it works just fine but it only has like 25% opacity.
Is in the ui. py file
Please see if you find solution to your error in this video:
Common Errors Fixed in Live Web Cam - th-cam.com/video/p7hjO2ZrfRU/w-d-xo.htmlsi=pT0tvTd_BQAUJuTv