[Detector Support]: OpenVINO multiprocessing crash TypeError model_path NoneType on Intel N150 with Frigate 0.17.0 (config parsed OK, models present, iGPU exposed) #22293
Describe the problem you are havingFrigate 0.17.0 crashes systematically when starting the OpenVINO multiprocessing detector: Process frigate.detector:ov: The YAML config is parsed correctly (python -c "import yaml; print(yaml.safe_load(open('/config/config.yml'))['detectors']['ov'])"), the model files are present, and the GPU is correctly exposed via /dev/dri, but model_path becomes None in the child process. Frigate becomes unresponsive (UI returns 502 errors), and the watchdog kills the FFmpeg processes for the cameras after ~20 seconds. As a workaround, using a CPU detector (cpu2 with num_threads: 2) keeps the system stable at around 20% total CPU usage for 4 cameras. Hardware
vainfo | grep -i intel: ls -la /dev/dri/card* /dev/dri/renderD* (inside container): The iGPU is detected and working, but the crash still occurs whether device: is set to AUTO, GPU, or CPU. Software
Versionfrigate:0.17.0-f0d69f7 Frigate config filedetectors:
ov:
type: openvino
device: AUTO # I also tried GPU and CPU
model:
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgrdocker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "512mb"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- /tmp/cache:/tmp/cache
- ./storage:/media/frigate
ports:
- "5000:5000"
- "8971:8971"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"Relevant Frigate log output2026-03-06 12:49:13.205656120 Process frigate.detector:ov:
2026-03-06 12:49:13.205659839 Traceback (most recent call last):
2026-03-06 12:49:13.205661284 File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
2026-03-06 12:49:13.205665128 self.run()
2026-03-06 12:49:13.205667136 File "/opt/frigate/frigate/object_detection/base.py", line 143, in run
2026-03-06 12:49:13.205668568 object_detector = LocalObjectDetector(detector_config=self.detector_config)
2026-03-06 12:49:13.205686438 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-06 12:49:13.205688399 File "/opt/frigate/frigate/object_detection/base.py", line 62, in __init__
2026-03-06 12:49:13.205689571 self.detect_api = create_detector(detector_config)
2026-03-06 12:49:13.205690511 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-06 12:49:13.205711770 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
2026-03-06 12:49:13.205712834 return api(detector_config)
2026-03-06 12:49:13.205713827 ^^^^^^^^^^^^^^^^^^^^
2026-03-06 12:49:13.205715045 File "/opt/frigate/frigate/detectors/plugins/openvino.py", line 45, in __init__
2026-03-06 12:49:13.205732623 self.runner = OpenVINOModelRunner(
2026-03-06 12:49:13.205733657 ^^^^^^^^^^^^^^^^^^^^
2026-03-06 12:49:13.205734817 File "/opt/frigate/frigate/detectors/detection_runners.py", line 299, in __init__
2026-03-06 12:49:13.205735913 if not os.path.isfile(model_path):
2026-03-06 12:49:13.205736813 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-06 12:49:13.205737809 File "<frozen genericpath>", line 30, in isfile
2026-03-06 12:49:13.205739032 TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneTypeInstall methodDocker Compose Object DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesNone (system crashed) Any other information that may be helpfuleverything working fine with default CPU detector (not openvino) detectors: |
Replies: 1 comment
|
The error you're encountering ( Based on the Frigate documentation, your configuration structure is incorrect. The Here's the corrected configuration: detectors:
ov:
type: openvino
device: GPU
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.txtThe Additionally, for your Intel N150 iGPU setup, ensure you're using If you continue experiencing issues after this configuration change, you may need to install the latest Intel Compute Runtime inside the Frigate container, as documented in similar cases with Intel iGPUs(3). 📚 Sources:
Have another question? Just tag @inkeep. |
The error you're encountering (
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType) indicates that themodel_pathis becomingNonewhen the OpenVINO detector process starts(1).Based on the Frigate documentation, your configuration structure is incorrect. The
modelsection should be at the top level of your config, not nested under thedetectors.ovsection(1)(2).Here's the corrected configuration:
(1)(2)
The
modelconfigurati…