[Detector Support]: Crash on startup with Quadro P2000 and ONNX TensorRT detector #20095
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Your config is incorrect:
|
Beta Was this translation helpful? Give feedback.
-
@inkeep can provide you with the necessary suggestions and documentation links. |
Beta Was this translation helpful? Give feedback.
-
Your config is missing the required model section for the ONNX detector, and the provider field is not a valid option in Frigate’s detector configuration(1)(2)(3). The ONNX detector section should look like this, with a model block specifying the model path and parameters: detectors:
nvidia:
type: onnx
device: 0
model:
model_type: yolo-generic
width: 640
height: 640
input_tensor: nchw
input_dtype: float
path: /config/model_cache/yolo.onnx
labelmap_path: /labelmap/coco-80.txt You can find more details and examples in the official documentation: Make sure your model path matches the actual file and that the width/height are correct for your model. Remove the provider key, as it is not used in Frigate’s detector config(2)(3). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
Ive adjusted as proposed: detectors: This is the error Im getting now: 2025-09-16 13:30:13.073295306 TypeError: Unable to load from type '<class 'NoneType'>' Running Yolov9-s model, tried 8 aswell but with same error. File permissions etc all checked and OK (1000). 2025-09-16 13:30:13.009375622 [2025-09-16 13:30:12] frigate.util.config INFO : Checking if frigate config needs migration... |
Beta Was this translation helpful? Give feedback.
-
Your error indicates that the ONNX detector is trying to load a model from a path that resolves to None, which usually means Frigate can't find the model file at the given location or the config structure is not correct(1). Double-check these points:
detectors:
onnx:
type: onnx
model:
model_type: yolox
width: 640
height: 640
input_tensor: nchw
input_pixel_format: bgr
path: /config/model_cache/onnx/yolov9-s.onnx
labelmap_path: /config/coco_labels.txt
model_type: yolo-generic
If you correct the config structure and ensure the file paths are valid inside the container, this should resolve the NoneType error. Reference: Supported Hardware(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Your config is missing the required model section for the ONNX detector, and the provider field is not a valid option in Frigate’s detector configuration(1)(2)(3). The ONNX detector section should look like this, with a model block specifying the model path and parameters:
(2), (3)
You can find more details and examples in the official documentation:
Make sure your model path matches the actual file and that the width/h…