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

报错了! #19

Open
hotalex opened this issue Jun 16, 2024 · 0 comments
Open

报错了! #19

hotalex opened this issue Jun 16, 2024 · 0 comments

Comments

@hotalex
Copy link

hotalex commented Jun 16, 2024

运行到第三项
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "/content/tonyff/run.py", line 3, in
from facefusion import core
File "/content/tonyff/facefusion/core.py", line 10, in
import onnxruntime
File "/usr/local/lib/python3.10/dist-packages/onnxruntime/init.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/onnxruntime/capi/_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found
Traceback (most recent call last):
File "/content/tonyff/run.py", line 3, in
from facefusion import core
File "/content/tonyff/facefusion/core.py", line 10, in
import onnxruntime
File "/usr/local/lib/python3.10/dist-packages/onnxruntime/init.py", line 57, in
raise import_capi_exception
File "/usr/local/lib/python3.10/dist-packages/onnxruntime/init.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/onnxruntime/capi/_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
ImportError

兄弟帮忙看看!多谢了!

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

1 participant