Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face Enhancer is too slow on CUDA #857

Open
monish567 opened this issue Dec 29, 2024 · 8 comments
Open

Face Enhancer is too slow on CUDA #857

monish567 opened this issue Dec 29, 2024 · 8 comments

Comments

@monish567
Copy link

Started the app using "python run.py --execution-provider cuda" command
Options I enabled in UI: Face Enhancer, Map Faces, Keep FPS, Keep Audio.
Target video used was 720p, 30fps and 10 seconds length.

I don't get how come Face Swapper ran fast but face enhancer is too slow. Face enhancer was faster even when I was using only CPU, on avg it took only around 3 to 4 seconds/frame with CPU. But here with GPU its taking 16 seconds/frame!!!

How to solve this problem? Am I missing something? Any workarounds?

Attached screenshots.

Nvidia Driver Details

image

Console Log

image

GPU Usage - While Face Enhancer was running

image

GPU Usage - After all the video processing is complete, but app is still running.

image

@Shinku-AI
Copy link

Experiencing the same, on an RTX 3050...Any fix?

@C-L-STARK
Copy link

image

@Killer74-hub
Copy link

Uncheck face enhancer. Ig this App ist for graphic cards that begin with 40

@KRSHH
Copy link
Collaborator

KRSHH commented Jan 17, 2025

Install either of the Supported versions of CUDA tookit

@Samuel780000
Copy link

Same issue with 4090 and 4060, getting low fps (2 to 3 fps)

@sathara
Copy link

sathara commented Feb 3, 2025

install onnxruntime-gpu latest version

@SentiQ
Copy link

SentiQ commented Feb 3, 2025

latest version of oonnxruntime-gpu creates black square and fps dropping to 1

@BigJago722
Copy link

Hi,

I'm trying to run the Deep-Live-Cam project, but I'm encountering a problem. The ui.py file is missing from the modules directory. I've tried the following:

  • Cloning the repository using git clone: git clone https://github.com/hacksider/Deep-Live-Cam.git
  • Cloning the repository using GitHub Desktop.
  • Downloading the repository as a ZIP file.

In all cases, the ui.py file is not present. I've also checked the repository on GitHub.com directly in my browser, and the file is missing there as well.

The modules directory contains the following files: [List the files you see].

Could you please let me know how to obtain the ui.py file? Is it intentionally missing, or is there a separate download/generation step required?

Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants