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

speed up inference for face detector when using mtcnn #273

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

liubo0902
Copy link
Contributor

@liubo0902 liubo0902 commented Jan 31, 2023

test with TorchFaceAttrExtractor

before inference a image with 1632 x 1224 using time 1.2s

now just needs 0.29s without influence

Motivation

speed up face detector inference using mtcnn

Modification

image only change data type once instead of change data type with num boxes times.

Backward-Compatibility-Breaking (Optional)

No.

Use cases (Optional)

No.

speed up code
@CLAassistant
Copy link

CLAassistant commented Jan 31, 2023

CLA assistant check
All committers have signed the CLA.

@wenmengzhou wenmengzhou merged commit 265d4cc into alibaba:master Feb 9, 2023
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.

3 participants