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

[Solved] face enhancer not found #266

Closed
vt57299 opened this issue Aug 13, 2024 · 9 comments
Closed

[Solved] face enhancer not found #266

vt57299 opened this issue Aug 13, 2024 · 9 comments

Comments

@vt57299
Copy link

vt57299 commented Aug 13, 2024

I have installed every needed requirements but getting this error when I run the main file. I am running this on remote linux aws instance without GPU. Can you help me out here?

Frame processor face_enhancer not found

@forward012
Copy link

done

@vt57299
Copy link
Author

vt57299 commented Aug 13, 2024

@seniorforblockchain Do you know how to solve this?

@tekinarslan
Copy link

I used different versions for macos arm m1 chip.

numpy==1.26.4
opencv-python==4.8.1.78
onnx==1.16.0
insightface==0.7.3
psutil==5.9.8
tk==0.1.0
customtkinter==5.2.2
pillow==9.5.0
torch==2.4.0+cu118; sys_platform != 'darwin'
torch==2.4.0; sys_platform == 'darwin'
torchvision==0.19.0+cu118; sys_platform != 'darwin'
torchvision==0.19; sys_platform == 'darwin'
onnxruntime==1.18.0; sys_platform == 'darwin' and platform_machine != 'arm64'
onnxruntime-silicon==1.16.3; sys_platform == 'darwin' and platform_machine == 'arm64'
onnxruntime-gpu==1.18.0; sys_platform != 'darwin'
tensorflow==2.17.0; sys_platform == 'darwin'
tensorflow==2.16.2; sys_platform != 'darwin'
opennsfw2==0.10.2
protobuf==4.23.2
tqdm==4.66.4

@vt57299
Copy link
Author

vt57299 commented Aug 13, 2024

I used different versions for macos arm m1 chip.

numpy==1.26.4 opencv-python==4.8.1.78 onnx==1.16.0 insightface==0.7.3 psutil==5.9.8 tk==0.1.0 customtkinter==5.2.2 pillow==9.5.0 torch==2.4.0+cu118; sys_platform != 'darwin' torch==2.4.0; sys_platform == 'darwin' torchvision==0.19.0+cu118; sys_platform != 'darwin' torchvision==0.19; sys_platform == 'darwin' onnxruntime==1.18.0; sys_platform == 'darwin' and platform_machine != 'arm64' onnxruntime-silicon==1.16.3; sys_platform == 'darwin' and platform_machine == 'arm64' onnxruntime-gpu==1.18.0; sys_platform != 'darwin' tensorflow==2.17.0; sys_platform == 'darwin' tensorflow==2.16.2; sys_platform != 'darwin' opennsfw2==0.10.2 protobuf==4.23.2 tqdm==4.66.4

Didn't work. Still same thing.

@vt57299
Copy link
Author

vt57299 commented Aug 13, 2024

I figured it out. Now I have a different problem, I am using linux server and running the code with xvfb library but still It doesn't shows the window for camera and image after running the run.py file.

@Pashok111
Copy link

Pashok111 commented Aug 13, 2024

I figured it out. Now I have a different problem, I am using linux server and running the code with xvfb library but still It doesn't shows the window for camera and image after running the run.py file.

How did you fix this issue?

@vt57299
Copy link
Author

vt57299 commented Aug 14, 2024

@Pashok111

Try the following:

uninstall the current version of basicsr:
pip uninstall basicsr -y

install basicsr directly from its GitHub repository:
pip install git+https://github.com/xinntao/BasicSR.git@master

After installation is complete, also reinstall gfpgan:
pip uninstall gfpgan -y
pip install git+https://github.com/TencentARC/GFPGAN.git@master

This should resolve your issue.

@vt57299 vt57299 closed this as completed Aug 14, 2024
@fucsleep
Copy link

fucsleep commented Oct 9, 2024

uninstall the current version of basicsr: pip uninstall basicsr -y

install basicsr directly from its GitHub repository: pip install git+https://github.com/xinntao/BasicSR.git@master

After installation is complete, also reinstall gfpgan: pip uninstall gfpgan -y pip install git+https://github.com/TencentARC/GFPGAN.git@master

WORKED PERFECTLY

@AsusClass
Copy link

@Pashok111

Try the following:

uninstall the current version of basicsr: pip uninstall basicsr -y

install basicsr directly from its GitHub repository: pip install git+https://github.com/xinntao/BasicSR.git@master

After installation is complete, also reinstall gfpgan: pip uninstall gfpgan -y pip install git+https://github.com/TencentARC/GFPGAN.git@master

This should resolve your issue.

Worked!

@hacksider hacksider pinned this issue Oct 17, 2024
@KRSHH KRSHH changed the title face enhancer not found [Solved] face enhancer not found Oct 22, 2024
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

6 participants