Closed YanisLax closed 1 year ago
Hello @YanisLax. Does the inference time only include the time of inference_detector
or both codes in one iteration of frame?
Hello, thanks for your help. After printing the time between instructions, I found the following values : inference_detector() time : 0.7s show_result() time : 0.47s Do you have an idea of the factors which could cause this huge latency ?
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
Hi everyone, I'm currently trying to run a very basic code on my Jetson Xavier NX in order to do object detection on a video, with MMDetection. But it seems that whatever the model I test, it takes an average of 1 second to infer a single frame (0.7s for the best one I checked), which is extremely slow and under the expected inference time advertised on the mmdet website (~50 fps).
I also tested the mmdetection demo scipts (video_demo.py and video_gpuacc.py), tried to convert my mmdet model to a TensorRT model (fp16 and int8 tested), but I still have approximatively the same results.
I really don't know what I'm missing ...
Please note that I previously worked on YoloV3 with Darknet and I had no problem like this. My code can be seen below.
Environnement
My code
Any help or idea is welcomed, thanks !