jetson-inference icon indicating copy to clipboard operation
jetson-inference copied to clipboard

Randomness at inference time

Open aafaqin opened this issue 3 years ago • 7 comments

When I am running detection on JETSON NANO with 288x192 input size the detection time are different for all detection mostly it gives 10FPS but sometimes detection time drops to 5FPS and it happens randomly for 10% of the time. Any way I can reduce this randomness? This is only detection time not preprocessing time. Can someone please help me with this?

aafaqin avatar Apr 19 '22 07:04 aafaqin

Hi @aafaqin, can you try running sudo jetson_clocks.sh script?

dusty-nv avatar Apr 19 '22 15:04 dusty-nv

Yes I have run that. Still the randomness Exists.

aafaqin avatar Apr 19 '22 15:04 aafaqin

Are you processing file-based images or streaming video (i.e. from a camera)?

dusty-nv avatar Apr 19 '22 15:04 dusty-nv

I am doing RTSP but the FPS I am mentioning is only after the RTSP frame is acquired and then the inference function is called.

aafaqin avatar Apr 19 '22 15:04 aafaqin

@dusty-nv can we run jetson_clocks.sh in production mode in a scenario when jetson board will be running 24X7

shithanshu-beltech avatar Apr 20 '22 05:04 shithanshu-beltech

@shithanshu-beltech I would refer to the module datasheet to be sure, but with proper cooling yes it should be fine. Also you can create your own nvpmodel profile with lower clocks if desired. Or perhaps in your scenario you don't need jetson_clocks.sh

dusty-nv avatar Apr 20 '22 13:04 dusty-nv

Thanks @dusty-nv Will try it out and update you

shithanshu-beltech avatar Apr 22 '22 07:04 shithanshu-beltech