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 in CLI mode not working #842

Open
herraristotle opened this issue Dec 19, 2024 · 1 comment
Open

Face enhancer in CLI mode not working #842

herraristotle opened this issue Dec 19, 2024 · 1 comment

Comments

@herraristotle
Copy link

Running python run.py --execution-provider cuda --execution-threads 60 --max-memory 60 -s C:\Users\Sysadmin\Pictures\source\komichi.jpg -t C:\Users\Sysadmin\Pictures\source\target\chi.jpg -o C:\Users\Sysadmin\Pictures\source\output on the cmd prompt on windows does the faceswap currectly, but adding --frame-processor face_enhancer to it like python run.py --execution-provider cuda --execution-threads 60 --max-memory 60 -s C:\Users\Sysadmin\Pictures\source\komichi.jpg -t C:\Users\Sysadmin\Pictures\source\target\chi.jpg -o C:\Users\Sysadmin\Pictures\source\output --frame-processor face_enhancer does nothing, it doesn't face swap or enhance, it just put the source image as it is to the output path

@rfrlcode
Copy link

you also need to include swapper in the command like:

python run.py --execution-provider cuda --execution-threads 60 --max-memory 10 --frame-processor face_swapper face_enhancer -s C:\Users\Sysadmin\Pictures\source\komichi.jpg -t C:\Users\Sysadmin\Pictures\source\target\chi.jpg -o C:\Users\Sysadmin\Pictures\source\output

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

2 participants