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

inference time of the model #570

Open
merkoxwj opened this issue Sep 16, 2024 · 1 comment
Open

inference time of the model #570

merkoxwj opened this issue Sep 16, 2024 · 1 comment

Comments

@merkoxwj
Copy link

I hope you can help me understand the code. Thank you very much.
I want to obtain the inference time of the model, which is the time it takes for the model to process one frame of image. What should I do?
In which code file should I add the time retrieval code?

@marcoslucianops
Copy link
Owner

Using deepstream-app, set the envs

export NVDS_ENABLE_COMPONENT_LATENCY_MEASUREMENT=1
export NVDS_ENABLE_LATENCY_MEASUREMENT=1

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