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

How can we apply batch size when inference? #22

Open
cihankaradogan opened this issue Apr 27, 2023 · 1 comment
Open

How can we apply batch size when inference? #22

cihankaradogan opened this issue Apr 27, 2023 · 1 comment

Comments

@cihankaradogan
Copy link

I wanna speed the inference up. I thought generating frames batch by batch can speed it up. How can I implement?

@Elsaam2y
Copy link

You can try a different model for audio features extraction and also train for lower face mask if you want to achieve real-time performance. I played with the optimization a bit here: https://github.com/Elsaam2y/DINet_optimized
and this can achieve 50-60% reduction in inference latency. Still not in real-time but could be done next.

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

No branches or pull requests

2 participants