[HW Accel Support]: Onnx Detector running on GPU but still High CPU Usage #19128
Unanswered
stillbevens
asked this question in
Hardware Acceleration Support
Replies: 1 comment
-
|
The CPU is still used to prepare the inputs for the model, you likely want to check the cameras and tune motion detection |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Hello, I have my detector configure to run on GPU and see it in nvidia-smi 'frigate.detector.onnx' but it's CPU usage is way higher than GPU usage. Maybe I fundamentally misunderstand how the pipelining works....
My two streams are just opensource/internet accessible cameras as I am just starting to play around with and learn frigate before buying my own cameras, etc.
Version
0.16.0-d96efdb
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":1280,"height":720,"display_aspect_ratio":"16:9","avg_frame_rate":"25/1"}]}}] [{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":1920,"height":1080,"display_aspect_ratio":"16:9","avg_frame_rate":"25/1"}]}}]Install method
Docker Compose
Object Detector
TensorRT
Network connection
Wired
Camera make and model
AXIS P3344 Network Camera, AXIS Q6078-E PTZ Camera
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
Everything is working, I just don't understand why CPU usage is so high when I have the detectors configured for GPU (Nvidia)
Beta Was this translation helpful? Give feedback.
All reactions