Zielon/MICA

error demo.py - ValueError: numpy.ndarray

thornade05 opened this issue · 2 comments

Hi,
Thank for your help, env conda installed.
But when i launch demo.py i have this issue:

Traceback (most recent call last):
File "demo.py", line 28, in
from insightface.app import FaceAnalysis
File "/home/titof/anaconda3/envs/MICA/lib/python3.8/site-packages/insightface/init.py", line 18, in
from . import app
File "/home/titof/anaconda3/envs/MICA/lib/python3.8/site-packages/insightface/app/init.py", line 2, in
from .mask_renderer import *
File "/home/titof/anaconda3/envs/MICA/lib/python3.8/site-packages/insightface/app/mask_renderer.py", line 8, in
from ..thirdparty import face3d
File "/home/titof/anaconda3/envs/MICA/lib/python3.8/site-packages/insightface/thirdparty/face3d/init.py", line 3, in
from . import mesh
File "/home/titof/anaconda3/envs/MICA/lib/python3.8/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.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Could you help me, thk

The conda env is updated now. Maybe you could try to reinstall it.

Great, install complete, no issue , thk