[Detector Support]: #20370
-
Describe the problem you are havingAfter updating Frigate, I became unable to use Tensor Detect. After switching to ONNX, Frigate became unable to start. The necessary logs are below. Version16.0 Frigate config filemqtt:
enabled: true
host: 10.0.10.201
port: 1883
user: admin
password: pass
go2rtc:
streams:
upper_hallway:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
- ffmpeg:camera1#audio=opus
upper_hallway_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
upper_outside:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
- ffmpeg:camera2#audio=opus
upper_outside_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
tls:
enabled: false
auth:
enabled: false
ffmpeg:
hwaccel_args: preset-nvidia
output_args:
record: preset-record-generic-audio-copy
global_args: -hide_banner -loglevel warning
input_args: preset-rtsp-generic
detectors:
onnx:
type: onnx
model:
model_type: yolo-generic
path: /config/model_cache/yolov9-t-320.onnx
labelmap_path: /labelmap/coco-80.txt
input_tensor: nchw
# input_pixel_format: rgb
width: 320
height: 320
cameras:
upper_hallway:
enabled: true
webui_url: http://192.168.1.10
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/upper_hallway_sub
roles:
- detect
- path: rtsp://127.0.0.1:8554/upper_hallway
roles:
- record
- audio
detect:
width: 704 # Sub stream resolution (adjust based on your camera)
height: 576
enabled: true
record:
enabled: true
retain:
days: 3
mode: all
alerts:
retain:
days: 15
mode: motion
detections:
retain:
days: 15
mode: motion
audio:
enabled: true
listen:
- telephone
- telephone_bell_ringing
- ringtone
- door
- doorbell
- ding-dong
motion:
threshold: 25
improve_contrast: false
mask: 0.669,0.002,0.666,0.05,0.989,0.049,0.987,0.005
objects:
track:
- person
- cat
ui:
order: 1
upper_outside:
enabled: true
webui_url: http://192.168.1.11
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/upper_outside_sub
roles:
- detect
- path: rtsp://127.0.0.1:8554/upper_outside
roles:
- record
- audio
detect:
width: 704 # Sub stream resolution (adjust based on your camera)
height: 576
enabled: true
record:
enabled: true
retain:
days: 3
mode: all
alerts:
retain:
days: 15
mode: motion
detections:
retain:
days: 15
mode: motion
audio:
enabled: true
motion:
threshold: 25
improve_contrast: false
mask: 0.663,0.008,0.665,0.056,0.979,0.056,0.994,0.038,0.985,0.009
objects:
track:
- person
- cat
ui:
order: 2
semantic_search:
enabled: true
reindex: false
model_size: large
ui:
time_format: 24hour
date_style: medium
time_style: medium
detect:
enabled: true
version: 0.16-0 docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
restart: unless-stopped
stop_grace_period: 30s
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
shm_size: '1024mb'
runtime: nvidia
deploy:
resources:
limits:
cpus: 4
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
networks:
vlan20:
ipv4_address: 10.0.20.100
vlan70:
ipv4_address: 192.168.1.100
volumes:
- ./config:/config
- storage:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
volumes:
storage:
driver: local
driver_opts:
type: cifs
device: //10.0.20.50/SecurityCams
o: username=admin,password=pass,file_mode=0777,dir_mode=0777
networks:
vlan20:
driver: macvlan
driver_opts:
parent: eth0
ipam:
config:
- subnet: 10.0.20.0/24
gateway: 10.0.20.1
vlan70:
driver: macvlan
driver_opts:
parent: eth1
ipam:
config:
- subnet: 192.168.1.0/24 Relevant Frigate log outputfrigate | s6-rc: info: service s6rc-fdholder: starting
frigate | s6-rc: info: service s6rc-oneshot-runner: starting
frigate | s6-rc: info: service s6rc-oneshot-runner successfully started
frigate | s6-rc: info: service fix-attrs: starting
frigate | s6-rc: info: service s6rc-fdholder successfully started
frigate | s6-rc: info: service fix-attrs successfully started
frigate | s6-rc: info: service legacy-cont-init: starting
frigate | s6-rc: info: service legacy-cont-init successfully started
frigate | s6-rc: info: service prepare: starting
frigate | s6-rc: info: service log-prepare: starting
frigate | s6-rc: info: service log-prepare successfully started
frigate | s6-rc: info: service nginx-log: starting
frigate | s6-rc: info: service go2rtc-log: starting
frigate | s6-rc: info: service frigate-log: starting
frigate | s6-rc: info: service certsync-log: starting
frigate | s6-rc: info: service nginx-log successfully started
frigate | s6-rc: info: service go2rtc-log successfully started
frigate | s6-rc: info: service certsync-log successfully started
frigate | s6-rc: info: service frigate-log successfully started
frigate | s6-rc: info: service prepare successfully started
frigate | s6-rc: info: service go2rtc: starting
frigate | s6-rc: info: service go2rtc successfully started
frigate | s6-rc: info: service go2rtc-healthcheck: starting
frigate | s6-rc: info: service frigate: starting
frigate | s6-rc: info: service frigate successfully started
frigate | s6-rc: info: service nginx: starting
frigate | s6-rc: info: service go2rtc-healthcheck successfully started
frigate | 2025-10-06 18:28:04.587934608 [INFO] Starting NGINX...
frigate | 2025-10-06 18:28:04.634297022 [INFO] Preparing Frigate...
frigate | 2025-10-06 18:28:04.832684782 [INFO] Preparing new go2rtc config...
frigate | s6-rc: info: service nginx successfully started
frigate | s6-rc: info: service certsync: starting
frigate | s6-rc: info: service certsync successfully started
frigate | s6-rc: info: service legacy-services: starting
frigate | 2025-10-06 18:28:04.869856492 [INFO] Starting certsync...
frigate | s6-rc: info: service legacy-services successfully started
frigate | 2025-10-06 18:28:04.893571146 [INFO] Starting Frigate...
frigate | 2025-10-06 18:28:05.086045390 [INFO] Starting go2rtc...
frigate | 2025-10-06 18:28:05.153694150 18:28:05.153 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
frigate | 2025-10-06 18:28:05.153696598 18:28:05.153 INF config path=/dev/shm/go2rtc.yaml
frigate | 2025-10-06 18:28:05.153963950 18:28:05.153 INF [rtsp] listen addr=:8554
frigate | 2025-10-06 18:28:05.154077293 18:28:05.153 INF [api] listen addr=:1984
frigate | 2025-10-06 18:28:05.154254157 18:28:05.154 INF [webrtc] listen addr=:8555
frigate | 2025-10-06 18:28:06.209974248 [2025-10-06 18:28:06] frigate.util.config INFO : Checking if frigate config needs migration...
frigate | 2025-10-06 18:28:06.222420720 [2025-10-06 18:28:06] frigate.util.config INFO : frigate config does not need migration...
frigate | 2025-10-06 18:28:06.251413071 [2025-10-06 18:28:06] frigate.app INFO : Starting Frigate (0.16.1-e664cb2)
frigate | 2025-10-06 18:28:06.261062416 [2025-10-06 18:28:06] peewee_migrate.logs INFO : Starting migrations
frigate | 2025-10-06 18:28:06.261659927 [2025-10-06 18:28:06] peewee_migrate.logs INFO : There is nothing to migrate
frigate | 2025-10-06 18:28:06.265824013 [2025-10-06 18:28:06] frigate.app INFO : Recording process started: 369
frigate | 2025-10-06 18:28:06.269169993 [2025-10-06 18:28:06] frigate.app INFO : Review process started: 372
frigate | 2025-10-06 18:28:06.270536888 [2025-10-06 18:28:06] frigate.app INFO : go2rtc process pid: 128
frigate | 2025-10-06 18:28:06.278288879 [2025-10-06 18:28:06] detector.onnx INFO : Starting detection process: 394
frigate | 2025-10-06 18:28:06.279255542 [2025-10-06 18:28:06] frigate.app INFO : Embedding process started: 397
frigate | 2025-10-06 18:28:06.286873044 2025-10-06 18:28:06.279848589 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 405, index: 5, mask: {12, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:06.286876883 2025-10-06 18:28:06.282865510 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 408, index: 8, mask: {15, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:06.286878907 2025-10-06 18:28:06.282892054 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 407, index: 7, mask: {14, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:06.287876242 [2025-10-06 18:28:06] frigate.detectors.plugins.onnx INFO : ONNX: loaded onnxruntime module
frigate | 2025-10-06 18:28:06.288258598 [2025-10-06 18:28:06] frigate.detectors.plugins.onnx INFO : ONNX: loading /config/model_cache/yolov9-t-320.onnx
frigate | 2025-10-06 18:28:06.300108485 [2025-10-06 18:28:06] frigate.app INFO : Output process started: 427
frigate | 2025-10-06 18:28:06.429371010 [2025-10-06 18:28:06] frigate.app INFO : Camera processor started for upper_hallway: 471
frigate | 2025-10-06 18:28:06.434497761 [2025-10-06 18:28:06] frigate.app INFO : Camera processor started for upper_outside: 473
frigate | 2025-10-06 18:28:06.455912238 [2025-10-06 18:28:06] frigate.app INFO : Capture process started for upper_hallway: 495
frigate | 2025-10-06 18:28:06.461548645 [2025-10-06 18:28:06] frigate.app INFO : Capture process started for upper_outside: 507
frigate | 2025-10-06 18:28:06.469829348 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
frigate | 2025-10-06 18:28:06.483475882 [2025-10-06 18:28:06] frigate.audio_manager INFO : Audio processor started (pid: 514)
frigate | 2025-10-06 18:28:06.585085060 [2025-10-06 18:28:06] frigate.detectors.plugins.onnx INFO : ONNX: /config/model_cache/yolov9-t-320.onnx loaded
frigate | 2025-10-06 18:28:06.683863913 [2025-10-06 18:28:06] frigate.api.fastapi_app INFO : Starting FastAPI app
frigate | 2025-10-06 18:28:06.816877313 2025-10-06 18:28:06.812895459 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 572, index: 7, mask: {14, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:06.816880275 2025-10-06 18:28:06.812910285 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 570, index: 5, mask: {12, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:06.824596537 2025-10-06 18:28:06.821318504 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 573, index: 8, mask: {15, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:06.824598640 [2025-10-06 18:28:06] frigate.api.fastapi_app INFO : FastAPI started
frigate | 2025-10-06 18:28:07.183081977 2025-10-06 18:28:07.183058068 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 579, index: 5, mask: {12, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:07.183780339 2025-10-06 18:28:07.183747681 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 581, index: 7, mask: {14, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:07.187524384 2025-10-06 18:28:07.186885948 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 582, index: 8, mask: {15, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
frigate | 2025-10-06 18:28:09.518721928 Process detector:onnx:
frigate | 2025-10-06 18:28:09.518725382 Traceback (most recent call last):
frigate | 2025-10-06 18:28:09.518726268 File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
frigate | 2025-10-06 18:28:09.518726859 self.run()
frigate | 2025-10-06 18:28:09.518727628 File "/opt/frigate/frigate/util/process.py", line 41, in run_wrapper
frigate | 2025-10-06 18:28:09.518728298 return run(*args, **kwargs)
frigate | 2025-10-06 18:28:09.518729003 ^^^^^^^^^^^^^^^^^^^^
frigate | 2025-10-06 18:28:09.518729869 File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
frigate | 2025-10-06 18:28:09.518730593 self._target(*self._args, **self._kwargs)
frigate | 2025-10-06 18:28:09.518731472 File "/opt/frigate/frigate/object_detection/base.py", line 136, in run_detector
frigate | 2025-10-06 18:28:09.518732180 detections = object_detector.detect_raw(input_frame)
frigate | 2025-10-06 18:28:09.518732918 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frigate | 2025-10-06 18:28:09.518733573 File "/opt/frigate/frigate/object_detection/base.py", line 86, in detect_raw
frigate | 2025-10-06 18:28:09.518735028 return self.detect_api.detect_raw(tensor_input=tensor_input)
frigate | 2025-10-06 18:28:09.518735702 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frigate | 2025-10-06 18:28:09.518751204 File "/opt/frigate/frigate/detectors/plugins/onnx.py", line 81, in detect_raw
frigate | 2025-10-06 18:28:09.518751949 tensor_output = self.model.run(None, {model_input_name: tensor_input})
frigate | 2025-10-06 18:28:09.518752780 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frigate | 2025-10-06 18:28:09.518753693 File "/usr/local/lib/python3.11/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 266, in run
frigate | 2025-10-06 18:28:09.518754575 return self._sess.run(output_names, input_feed, run_options)
frigate | 2025-10-06 18:28:09.518755175 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frigate | 2025-10-06 18:28:09.518756104 onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(uint8)) , expected: (tensor(float))
Gracefully Stopping... press Ctrl+C again to force
Container frigate Stopping
frigate | s6-rc: info: service legacy-services: stopping
frigate | s6-rc: info: service legacy-services successfully stopped
frigate | s6-rc: info: service go2rtc-healthcheck: stopping
frigate | s6-rc: info: service certsync: stopping
frigate | 2025-10-06 18:28:11.065926455 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
frigate | s6-rc: info: service go2rtc-healthcheck successfully stopped
frigate | 2025-10-06 18:28:11.066638884 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
frigate | s6-rc: info: service certsync successfully stopped
frigate | s6-rc: info: service nginx: stopping
frigate | s6-rc: info: service certsync-log: stopping
frigate | s6-rc: info: service certsync-log successfully stopped
frigate | 2025-10-06 18:28:11.112068897 [INFO] Service NGINX exited with code 0 (by signal 0)
frigate | s6-rc: info: service nginx successfully stopped
frigate | s6-rc: info: service nginx-log: stopping
frigate | s6-rc: info: service frigate: stopping
frigate | s6-rc: info: service nginx-log successfully stopped
frigate | 2025-10-06 18:28:11.238686229 [2025-10-06 18:28:11] frigate.app INFO : Stopping...
frigate | 2025-10-06 18:28:11.239686692 [2025-10-06 18:28:11] frigate.storage INFO : Exiting storage maintainer...
frigate | 2025-10-06 18:28:11.240325032 [2025-10-06 18:28:11] frigate.events.cleanup INFO : Exiting event cleanup...
frigate | 2025-10-06 18:28:11.240724018 [2025-10-06 18:28:11] frigate.record.cleanup INFO : Exiting recording cleanup...
frigate | 2025-10-06 18:28:11.241038118 [2025-10-06 18:28:11] frigate.ptz.autotrack INFO : Exiting autotracker...
frigate | 2025-10-06 18:28:11.430621410 [2025-10-06 18:28:11] frigate.track.object_processing INFO : Exiting object processor...
frigate | 2025-10-06 18:28:11.475198995 [2025-10-06 18:28:11] audio.upper_hallway INFO : Terminating the existing ffmpeg process...
frigate | 2025-10-06 18:28:11.475286188 [2025-10-06 18:28:11] audio.upper_hallway INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2025-10-06 18:28:11.577693902 [2025-10-06 18:28:11] audio.upper_outside INFO : Terminating the existing ffmpeg process...
frigate | 2025-10-06 18:28:11.577809512 [2025-10-06 18:28:11] audio.upper_outside INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2025-10-06 18:28:11.775818441 [2025-10-06 18:28:11] frigate.events.maintainer INFO : Exiting event processor...
frigate | 2025-10-06 18:28:12.020604841 [2025-10-06 18:28:12] frigate.audio_manager INFO : Exiting audio processor
frigate | 2025-10-06 18:28:12.026326925 [2025-10-06 18:28:12] frigate.ptz.onvif INFO : Exiting ONVIF controller...
frigate | 2025-10-06 18:28:12.026633731 [2025-10-06 18:28:12] frigate.app INFO : Waiting for capture process for upper_hallway to stop
frigate | 2025-10-06 18:28:16.461169834 [2025-10-06 18:28:16] watchdog.upper_hallway INFO : Terminating the existing ffmpeg process...
frigate | 2025-10-06 18:28:16.461264708 [2025-10-06 18:28:16] watchdog.upper_hallway INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2025-10-06 18:28:16.675155718 [2025-10-06 18:28:16] frigate.stats.emitter INFO : Exiting stats emitter...
frigate | 2025-10-06 18:28:16.676532286 [2025-10-06 18:28:16] frigate.watchdog INFO : Exiting watchdog...
frigate | 2025-10-06 18:28:16.787094235 [2025-10-06 18:28:16] watchdog.upper_hallway INFO : Terminating the existing ffmpeg process...
frigate | 2025-10-06 18:28:16.787199395 [2025-10-06 18:28:16] watchdog.upper_hallway INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2025-10-06 18:28:17.006825117 [2025-10-06 18:28:17] frigate.app INFO : Waiting for capture process for upper_outside to stop
frigate | 2025-10-06 18:28:17.048242511 [2025-10-06 18:28:17] watchdog.upper_outside INFO : Terminating the existing ffmpeg process...
frigate | 2025-10-06 18:28:17.048414061 [2025-10-06 18:28:17] watchdog.upper_outside INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2025-10-06 18:28:17.806876530 [2025-10-06 18:28:17] watchdog.upper_outside INFO : Terminating the existing ffmpeg process...
frigate | 2025-10-06 18:28:17.806947079 [2025-10-06 18:28:17] watchdog.upper_outside INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2025-10-06 18:28:18.126538661 [2025-10-06 18:28:18] frigate.app INFO : Waiting for process for upper_hallway to stop
frigate | 2025-10-06 18:28:19.514083815 [2025-10-06 18:28:19] frigate.video INFO : upper_hallway: emptying frame queue
frigate | 2025-10-06 18:28:19.514362826 [2025-10-06 18:28:19] frigate.video INFO : upper_hallway: exiting subprocess
frigate | 2025-10-06 18:28:19.519144264 [2025-10-06 18:28:19] frigate.app INFO : Closing frame queue for upper_hallway
frigate | 2025-10-06 18:28:20.020073550 [2025-10-06 18:28:20] frigate.app INFO : Waiting for process for upper_outside to stop
frigate | 2025-10-06 18:28:24.541559506 [2025-10-06 18:28:24] frigate.video INFO : upper_outside: emptying frame queue
frigate | 2025-10-06 18:28:24.541768523 [2025-10-06 18:28:24] frigate.video INFO : upper_outside: exiting subprocess
frigate | 2025-10-06 18:28:24.547797860 [2025-10-06 18:28:24] frigate.app INFO : Closing frame queue for upper_outside
frigate | 2025-10-06 18:28:25.548942223 [2025-10-06 18:28:25] frigate.app INFO : Detection queue closed
frigate | 2025-10-06 18:28:26.049930412 [2025-10-06 18:28:26] frigate.app INFO : Detected frames queue closed
frigate | 2025-10-06 18:28:26.550413604 [2025-10-06 18:28:26] frigate.app INFO : Timeline queue closed
frigate | 2025-10-06 18:28:27.914677506 [2025-10-06 18:28:27] frigate.output.output INFO : exiting output process...
frigate | 2025-10-06 18:28:31.272351453 [2025-10-06 18:28:31] frigate.record.maintainer INFO : Exiting recording maintenance...
frigate | 2025-10-06 18:28:31.562521729 [2025-10-06 18:28:31] frigate.review.maintainer INFO : Exiting review maintainer...
frigate | 2025-10-06 18:28:31.566834876 [2025-10-06 18:28:31] frigate.comms.mqtt ERROR : MQTT disconnected
frigate | 2025-10-06 18:28:31.820145906 [2025-10-06 18:28:31] frigate.comms.ws INFO : Exiting websocket client...
frigate | 2025-10-06 18:28:32.278161648 [2025-10-06 18:28:32] peewee.sqliteq INFO : writer received shutdown request, exiting.
frigate | 2025-10-06 18:28:32.302441558 [INFO] Service Frigate exited with code 0 (by signal 0)
frigate | s6-rc: info: service frigate successfully stopped
frigate | s6-rc: info: service go2rtc: stopping
frigate | s6-rc: info: service frigate-log: stopping
frigate | 2025-10-06 18:28:32.303491788 exit with signal: terminated
frigate | s6-rc: info: service frigate-log successfully stopped
frigate | 2025-10-06 18:28:32.306137607 [INFO] The go2rtc service exited with code 0 (by signal 0)
frigate | s6-rc: info: service go2rtc successfully stopped
frigate | s6-rc: info: service prepare: stopping
frigate | s6-rc: info: service go2rtc-log: stopping
frigate | s6-rc: info: service prepare successfully stopped
frigate | s6-rc: info: service go2rtc-log successfully stopped
frigate | s6-rc: info: service log-prepare: stopping
frigate | s6-rc: info: service s6rc-fdholder: stopping
frigate | s6-rc: info: service log-prepare successfully stopped
frigate | s6-rc: info: service legacy-cont-init: stopping
frigate | s6-rc: info: service s6rc-fdholder successfully stopped
frigate | s6-rc: info: service legacy-cont-init successfully stopped
frigate | s6-rc: info: service fix-attrs: stopping
frigate | s6-rc: info: service fix-attrs successfully stopped
frigate | s6-rc: info: service s6rc-oneshot-runner: stopping
frigate | s6-rc: info: service s6rc-oneshot-runner successfully stopped Install methodDocker Compose Object DetectorOther Screenshots of the Frigate UI's System metrics pagesI cant open my frigate Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The error you're encountering is a common issue with YOLO models in Frigate. The error For YOLO models with the ONNX detector, you need to specify the correct Here's the corrected model configuration: model:
model_type: yolo-generic
path: /config/model_cache/yolov9-t-320.onnx
labelmap_path: /labelmap/coco-80.txt
input_tensor: nchw
input_dtype: float
width: 320
height: 320 The key addition is the Also, since you're using the The pthread affinity warnings you see in the logs are not critical and won't prevent Frigate from functioning - they're just informational messages about thread affinity settings. 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
The error you're encountering is a common issue with YOLO models in Frigate. The error
Unexpected input data type. Actual: (tensor(uint8)) , expected: (tensor(float))
indicates that your YOLOv9 model expects float input data, but Frigate is sending uint8 data (1).For YOLO models with the ONNX detector, you need to specify the correct
input_dtype
in your model configuration. Based on the documentation for YOLO models, you should addinput_dtype: float
to your model configuration (2).Here's the corrected model configuration: