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

update scrfd_person.py - numpy int (deprecated) #2592

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adityapp
Copy link

updating examples/person_detection/scrfd_person.py to use numpy int32

related issue: #2591

@Poehavshi
Copy link

There're also the same problem for other files in project

For example
alignment/coordinate_reg/image_infer.py:

        lmk = np.round(lmk).astype(np.int)

detection/scrfd/tools/scrfd.py

            x1,y1,x2,y2,score = bbox.astype(np.int)
                    kp = kp.astype(np.int)

So maybe numpy version must be pinned somehow or all places need to be fixed

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

Successfully merging this pull request may close these issues.

None yet

2 participants