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

The Benchmark mobilenetv2 of Hailo-8L maybe error? #84

Closed
BUG1989 opened this issue Feb 7, 2024 · 4 comments
Closed

The Benchmark mobilenetv2 of Hailo-8L maybe error? #84

BUG1989 opened this issue Feb 7, 2024 · 4 comments

Comments

@BUG1989
Copy link

BUG1989 commented Feb 7, 2024

https://github.com/hailo-ai/hailo_model_zoo/blob/master/docs/public_models/HAILO8L_Classification.rst

  • Hailo-8L
    • mobilenetv1, 1867 fps
    • mobilenetv2, 280 fps ??
@nadaved1
Copy link

nadaved1 commented Feb 7, 2024

Hi @BUG1989 - interesting we will look into this

@omerwer
Copy link

omerwer commented Feb 12, 2024

Hi @BUG1989,
If you look at the relevant mobilenet_v2 line in the .rst of the Hailo8l you provided here, you'll see at the table you have a column of either batch-size 1 or 8. The benchmark results for batch size of 1 or batch size of 8 (hailortcli benchmark mobilenet_v2_1.0.hef --batch-size 8) are identical to those I get when running hailortcli run and to what is written in the .rst.
The reason is that the mobilenet_v2 model require more resources then the mobilenet_v1, which the hailo8l chip doesn't have enough of, so it's divided to multiple contexts, which hurts performance in comparison to single context, but as you can see can be improved by running it with larger batch size.

Regards,

@omerwer
Copy link

omerwer commented Feb 12, 2024

Hi @BUG1989
By applying some compilation optimization, I was able to compile the model to a single context and reach 1658 FPS.
We will take this to the R&D to be available for the next release with the optimized compiled model.

Regards,

@BUG1989
Copy link
Author

BUG1989 commented Feb 13, 2024

@omerwer @nadaved1 Thanks for your reply.

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

3 participants