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

[BUG]: no time difference in yolo examples #242

Open
zoldaten opened this issue Oct 17, 2024 · 1 comment
Open

[BUG]: no time difference in yolo examples #242

zoldaten opened this issue Oct 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zoldaten
Copy link

Bug description

do not see time speed up in yolo-onnx vs yolo-max.

Steps to reproduce

cd ~/max/examples/inference/yolo-python-onnx$
time ./run.sh --onnx

and

~/max/examples/inference/yolo-python-onnx$ 
time ./run.sh --onnx

2024-10-17_12h26_47

System information

max 24.5.0 (e8aacb95)
@zoldaten zoldaten added the bug Something isn't working label Oct 17, 2024
@ehsanmok
Copy link
Member

Thanks for reporting! this is most likely due to the model compilation time that takes time for the first time running the code. We'll soon expose caching the compiled model so that subsequent runs don't need re-compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants