[Detector Support]: Unable to get YOLOv9 working #20535
Replies: 5 comments 21 replies
-
|
Based on your configuration and the logs provided, there are a few potential issues with your YOLOv9 setup. Let me walk through the key points: YOLOv9 Configuration IssuesYour configuration looks mostly correct for YOLOv9 with OpenVINO, but there are some important considerations (1): detectors:
ov:
type: openvino
device: GPU
model:
model_type: yolo-generic
width: 320 # <--- should match the imgsize set during model export
height: 320 # <--- should match the imgsize set during model export
input_tensor: nchw
input_dtype: float
path: /config/yolov9-t-320.onnx
labelmap_path: /labelmap/coco-80.txtMissing Detection Process LogsFrom your logs, I notice that Frigate is starting successfully, but I don't see any specific detector initialization logs that would indicate whether the YOLOv9 model is loading correctly. The logs show the detector process starting but don't show model compilation or loading details. Intel Arc A310 CompatibilityYour Intel Arc A310 should work well with OpenVINO. According to the performance data, Intel Arc A310 shows good inference times (2):
Troubleshooting Steps
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txtLicense Plate Recognition IssueFor your LPR issue, the configuration shows The fact that your system metrics show the detector is running but with minimal activity suggests the model may not be loading properly or there might be an issue with the ONNX file itself. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
The command I use to export the yolo model is this: I ran it in the terminal on my nas then copied the file output to the /config directory in frigate. I have also tried /config/model_cache but it doesn't make a difference. I also ran |
Beta Was this translation helpful? Give feedback.
-
|
What do you see in the debug view? Does the inference time change from 10 to something else? |
Beta Was this translation helpful? Give feedback.
-
|
What makes you think it's not working? You have a low inference speed which implies there are some detections happening. |
Beta Was this translation helpful? Give feedback.
-
|
Check your use of "preset-intel-qsv-h265" ? as shown here in your config : ffmpeg: Eleswhere in your config you are using "preset-intel-qsv-h264"... In my case using consistent "preset-intel-qsv-h264" is the right course for my Intel implementation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I have followed the instructions on the doc to download and export the yolo9 model for frigate.
I have placed it in the /config directory and have set the paths for it in the config. When frigate restarts, it seems detection isn't happening. If I use the ssdlite model, it works, as does YOLO-NAS. But when using yolo9, nothing is detected.
I am using openvino with an Arc A310
Version
0.16.2-4d58206
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Install method
Docker Compose
Object Detector
OpenVino
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
I am also unable to get the license plate recognition to work, no matter what model I select.
Beta Was this translation helpful? Give feedback.
All reactions