From a50377f22ae67ab2d8f5d02d5deaa39849fdb15a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 17 Apr 2025 19:35:37 -0600 Subject: [PATCH] gs --- docs/docs/configuration/object_detectors.md | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/docs/configuration/object_detectors.md b/docs/docs/configuration/object_detectors.md index 370fdb00a..b95b6e278 100644 --- a/docs/docs/configuration/object_detectors.md +++ b/docs/docs/configuration/object_detectors.md @@ -682,6 +682,29 @@ model: Note that the labelmap uses a subset of the complete COCO label set that has only 80 objects. +#### YOLOx + +[YOLOx](https://github.com/Megvii-BaseDetection/YOLOX) models are supported, but not included by default. + +After placing the downloaded onnx model in your config folder, you can use the following configuration: + +```yaml +detectors: + onnx: + type: onnx + +model: + model_type: yolox + width: 416 # <--- should match the imgsize set during model export + height: 416 # <--- should match the imgsize set during model export + input_tensor: nchw_denorm + input_dtype: float + path: /config/model_cache/yolox_tiny.onnx + labelmap_path: /labelmap/coco-80.txt +``` + +Note that the labelmap uses a subset of the complete COCO label set that has only 80 objects. + #### RF-DETR [RF-DETR](https://github.com/roboflow/rf-detr) is a DETR based model. The ONNX exported models are supported, but not included by default. See [the models section](#downloading-rf-detr-model) for more information on downloading the RF-DETR model for use in Frigate. @@ -962,6 +985,10 @@ The input image size in this notebook is set to 320x320. This results in lower C ### Downloading YOLO Models +#### YOLOx + +YOLOx models can be downloaded [from the YOLOx repo](https://github.com/Megvii-BaseDetection/YOLOX/tree/main/demo/ONNXRuntime). + #### YOLOv3, YOLOv4, and YOLOv7 To export as ONNX: