insightface
insightface copied to clipboard
Numpy Version Mismatch Issue With Onnxruntime module
The main issue is with the draw_on
function of FaceAnalysis
module. It is using np.int
for type casting but this has been deprecated and removed from numpy starting 1.20 if I am not mistaken. I think it need to be updated as I cannot downgrade numpy because the Onnxruntime module depends on numpy version >1.21.
For reference, I am using
Onnxruntime=1.16.2
Numpy=1.26.2
Insightface=0.7.3
Yes, it has been fixed in the source code, but it hasn't been pushed to the pip package yet. I will complete the upgrade after some days.
Great! Is it okay to leave the issue open until then?
Any update on this? I ran into exactly the problem described about (np.int error - not just warning).
Any update on this?
I don't think they made any changes. I cloned their repository and manually made the changes to work for me
duplicate of #2404