deepinsight / deepinsight/insightface

Numpy Version Mismatch Issue With Onnxruntime module

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

Description

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
```

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.