Skip to content
Discussion options

You must be logged in to vote

The issue is with your Docker image and device configuration. For NVIDIA GPU support with ONNX, you need to use the -tensorrt Frigate image (1). Your current configuration uses the standard stable image which doesn't include the necessary TensorRT libraries for GPU acceleration.

Docker Image Fix:
Change your docker-compose to use the TensorRT image:

image: ghcr.io/blakeblackshear/frigate:stable-tensorrt

(1)

Device Configuration:
The device parameter should be a string, not an integer (1). Update your detector configuration:

detectors:
  nvidia:
    type: onnx
    device: '0'

(1)

Missing Model Configuration:
You're also missing the model configuration section. For ONNX detectors, you need …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rishabh-Bajpai
Comment options

Answer selected by Rishabh-Bajpai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment