deepinsight / deepinsight/insightface

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Open
#2,884 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

My numpy version is 2.4.4. It seems not support 2.x numpy?

C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\albumentations\check_version.py:147: UserWarning: Error fetching version info The read operation timed out
data = fetch_version_info()
Traceback (most recent call last):
File "D:\qwen\AgentGame\sdxl-i2i-Example.py", line 5, in
from insightface.app import FaceAnalysis
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\__init__.py", line 18, in
from . import app
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\app\__init__.py", line 2, in
from .mask_renderer import *
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\app\mask_renderer.py", line 8, in
from ..thirdparty import face3d
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\thirdparty\face3d\__init__.py", line 3, in
from . import mesh
File "C:\Users\53077\AppData\Local\Programs\Python\Python312\Lib\site-packages\insightface\thirdparty\face3d\mesh\__init__.py", line 9, in
from .cython import mesh_core_cython
File "insightface\\thirdparty\\face3d\\mesh\\cython\\mesh_core_cython.pyx", line 1, in init insightface.thirdparty.face3d.mesh.cython.mesh_core_cython
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.