-
Notifications
You must be signed in to change notification settings - Fork 45
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
how to fix this #8
Comments
Not sure about the error, but it seems you are running the Spaces version of the demo (which is designed to run on Spaces GPUs). Please, try the local one from this repo, or maybe remove lines 19 ( |
ok i will try |
(arc2face) F:\arc\Arc2Face-main>python gradio_demo/app.py *************** EP Error *************** 2024-03-30 15:26:02.4856961 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\ggrov\anaconda3\envs\arc2face\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): (arc2face) F:\arc\Arc2Face-main> |
Please follow the instructions in the error message to install the correct CUDA requirements and the required paths. I think should fix the error. Or you can avoid it by running face detection in CPU mode (as in the Spaces demo). |
how i can avoid it? |
You can try Line 29 in ee43ca6
|
Running on local URL: http://127.0.0.1:7860 To create a public link, set The above exception was the direct cause of the following exception: Traceback (most recent call last): |
i change float16 to float32 it working |
(base) C:\Windows\system32>nvcc --version (base) C:\Windows\system32> |
nevermind i fixed this thank you for helping |
(venv) (base) F:\arc\Arc2Face-hf-main>python app.py
Traceback (most recent call last):
File "F:\arc\Arc2Face-hf-main\app.py", line 19, in
import spaces
File "F:\arc\Arc2Face-hf-main\venv\lib\site-packages\spaces_init_.py", line 10, in
from .zero.decorator import GPU
File "F:\arc\Arc2Face-hf-main\venv\lib\site-packages\spaces\zero\decorator.py", line 21, in
from .wrappers import regular_function_wrapper
File "F:\arc\Arc2Face-hf-main\venv\lib\site-packages\spaces\zero\wrappers.py", line 14, in
from multiprocessing.context import ForkProcess
ImportError: cannot import name 'ForkProcess' from 'multiprocessing.context' (C:\Users\ggrov\AppData\Local\Programs\Python\Python310\lib\multiprocessing\context.py)
(venv) (base) F:\arc\Arc2Face-hf-main>
The text was updated successfully, but these errors were encountered: