[Detector Support]: #17595
-
Describe the problem you are havingI am in the middle of setting up a new Frigate instance, and I have it in a running and working state minus the feature of using my old 1080ti for some basic detection, 1 camera. I am trying to generate the yolo model but am having no success, and to be frank Im not sure which one I should even be using. Version0.14.0 Frigate config filemqtt:
host: 192.168.1.40
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt-user
password: mqtt
stats_interval: 60
cameras:
testCam:
enabled: True
ffmpeg:
hwaccel_args: preset-nvidia-h264
output_args:
record: preset-record-generic-audio-aac
inputs:
- path: rtsp://administrator:[email protected]:554/stream1
roles:
- record
- detect
detect:
enabled: True
width: 1920
height: 1080
fps: 5
record:
enabled: True
retain:
days: 3
mode: all
alerts:
retain:
days: 30
mode: motion
detections:
retain:
days: 30
mode: motion
objects:
track:
- person
- cat
- dog
- car
detectors:
tensorrt:
type: tensorrt
device: 0 #This is the default, select the first GPU
model:
path: /config/model_cache/tensorrt/yolov7-320.trt
input_tensor: nchw
input_pixel_format: rgb
width: 320
height: 320
s
version: 0.15-1 docker-compose file or Docker CLI commandservices:
frigate:
environment:
- YOLO_MODELS=yolov7-320
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
privileged: true
restart: unless-stopped
shm_size: "240mb"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
devices:
- /dev/bus/usb:/dev/bus/usb
volumes:
- ./config:/config
- ./media:/media/frigate
- /etc/localtime:/etc/localtime:ro
ports:
- "5000:5000"
- "8554:8554"
- "1935:1935" Relevant Frigate log output2025-04-07 23:13:49 frigate | s6-rc: info: service s6rc-fdholder: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service s6rc-oneshot-runner: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service s6rc-oneshot-runner successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service fix-attrs: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service s6rc-fdholder successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service fix-attrs successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service legacy-cont-init: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service legacy-cont-init successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service trt-model-prepare: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service log-prepare: starting
2025-04-07 23:13:49 frigate | /etc/s6-overlay/s6-rc.d/trt-model-prepare/run: line 23: [: missing `]'
2025-04-07 23:13:49 frigate | s6-rc: info: service log-prepare successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service nginx-log: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service go2rtc-log: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service frigate-log: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service certsync-log: starting
2025-04-07 23:13:49 frigate | Generating the following TRT Models: yolov7-320
2025-04-07 23:13:49 frigate | Downloading yolo weights
2025-04-07 23:13:49 frigate | s6-rc: info: service frigate-log successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service certsync-log successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service go2rtc-log successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service go2rtc: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service go2rtc successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service go2rtc-healthcheck: starting
2025-04-07 23:13:49 frigate | s6-rc: info: service nginx-log successfully started
2025-04-07 23:13:49 frigate | s6-rc: info: service go2rtc-healthcheck successfully started
2025-04-07 23:13:49 frigate | 2025-04-08 03:13:49.626270165 [INFO] Preparing new go2rtc config...
2025-04-07 23:13:50 frigate | Traceback (most recent call last):
2025-04-07 23:13:50 frigate | File "/usr/local/go2rtc/create_config.py", line 44, in <module>
2025-04-07 23:13:50 frigate | config: dict[str, any] = yaml.load(raw_config)
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/main.py", line 451, in load
2025-04-07 23:13:50 frigate | return constructor.get_single_data()
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/constructor.py", line 114, in get_single_data
2025-04-07 23:13:50 frigate | node = self.composer.get_single_node()
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 72, in get_single_node
2025-04-07 23:13:50 frigate | document = self.compose_document()
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 95, in compose_document
2025-04-07 23:13:50 frigate | node = self.compose_node(None, None)
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:50 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:50 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:50 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:50 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 106, in compose_node
2025-04-07 23:13:50 frigate | if self.parser.check_event(AliasEvent):
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 141, in check_event
2025-04-07 23:13:50 frigate | self.current_event = self.state()
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 634, in parse_block_mapping_value
2025-04-07 23:13:50 frigate | if not self.scanner.check_token(KeyToken):
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 1733, in check_token
2025-04-07 23:13:50 frigate | while self.need_more_tokens():
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 203, in need_more_tokens
2025-04-07 23:13:50 frigate | self.stale_possible_simple_keys()
2025-04-07 23:13:50 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 348, in stale_possible_simple_keys
2025-04-07 23:13:50 frigate | raise ScannerError(
2025-04-07 23:13:50 frigate | ruamel.yaml.scanner.ScannerError: while scanning a simple key
2025-04-07 23:13:50 frigate | in "<unicode string>", line 63, column 1:
2025-04-07 23:13:50 frigate | s
2025-04-07 23:13:50 frigate | ^ (line: 63)
2025-04-07 23:13:50 frigate | could not find expected ':'
2025-04-07 23:13:50 frigate | in "<unicode string>", line 64, column 1:
2025-04-07 23:13:50 frigate | version: 0.15-1
2025-04-07 23:13:50 frigate | ^ (line: 64)
2025-04-07 23:13:50 frigate | 2025-04-08 03:13:50.328493000 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-04-07 23:13:51 frigate | 2025-04-08 03:13:51.336703231 [INFO] Preparing new go2rtc config...
2025-04-07 23:13:51 frigate | Traceback (most recent call last):
2025-04-07 23:13:51 frigate | File "/usr/local/go2rtc/create_config.py", line 44, in <module>
2025-04-07 23:13:51 frigate | config: dict[str, any] = yaml.load(raw_config)
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/main.py", line 451, in load
2025-04-07 23:13:51 frigate | return constructor.get_single_data()
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/constructor.py", line 114, in get_single_data
2025-04-07 23:13:51 frigate | node = self.composer.get_single_node()
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 72, in get_single_node
2025-04-07 23:13:51 frigate | document = self.compose_document()
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 95, in compose_document
2025-04-07 23:13:51 frigate | node = self.compose_node(None, None)
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:51 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:51 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:51 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:51 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 106, in compose_node
2025-04-07 23:13:51 frigate | if self.parser.check_event(AliasEvent):
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 141, in check_event
2025-04-07 23:13:51 frigate | self.current_event = self.state()
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 634, in parse_block_mapping_value
2025-04-07 23:13:51 frigate | if not self.scanner.check_token(KeyToken):
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 1733, in check_token
2025-04-07 23:13:51 frigate | while self.need_more_tokens():
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 203, in need_more_tokens
2025-04-07 23:13:51 frigate | self.stale_possible_simple_keys()
2025-04-07 23:13:51 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 348, in stale_possible_simple_keys
2025-04-07 23:13:51 frigate | raise ScannerError(
2025-04-07 23:13:51 frigate | ruamel.yaml.scanner.ScannerError: while scanning a simple key
2025-04-07 23:13:51 frigate | in "<unicode string>", line 63, column 1:
2025-04-07 23:13:51 frigate | s
2025-04-07 23:13:51 frigate | ^ (line: 63)
2025-04-07 23:13:51 frigate | could not find expected ':'
2025-04-07 23:13:51 frigate | in "<unicode string>", line 64, column 1:
2025-04-07 23:13:51 frigate | version: 0.15-1
2025-04-07 23:13:51 frigate | ^ (line: 64)
2025-04-07 23:13:51 frigate | 2025-04-08 03:13:51.644267237 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-04-07 23:13:52 frigate |
2025-04-07 23:13:52 frigate | Creating yolov7-320.cfg and yolov7-320.weights
2025-04-07 23:13:52 frigate |
2025-04-07 23:13:52 frigate | Done.
2025-04-07 23:13:52 frigate | 2025-04-08 03:13:52.654388356 [INFO] Preparing new go2rtc config...
2025-04-07 23:13:52 frigate | Traceback (most recent call last):
2025-04-07 23:13:52 frigate | File "/usr/local/go2rtc/create_config.py", line 44, in <module>
2025-04-07 23:13:52 frigate | config: dict[str, any] = yaml.load(raw_config)
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/main.py", line 451, in load
2025-04-07 23:13:52 frigate | return constructor.get_single_data()
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/constructor.py", line 114, in get_single_data
2025-04-07 23:13:52 frigate | node = self.composer.get_single_node()
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 72, in get_single_node
2025-04-07 23:13:52 frigate | document = self.compose_document()
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 95, in compose_document
2025-04-07 23:13:52 frigate | node = self.compose_node(None, None)
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:52 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:52 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:52 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:52 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 106, in compose_node
2025-04-07 23:13:52 frigate | if self.parser.check_event(AliasEvent):
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 141, in check_event
2025-04-07 23:13:52 frigate | self.current_event = self.state()
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 634, in parse_block_mapping_value
2025-04-07 23:13:52 frigate | if not self.scanner.check_token(KeyToken):
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 1733, in check_token
2025-04-07 23:13:52 frigate | while self.need_more_tokens():
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 203, in need_more_tokens
2025-04-07 23:13:52 frigate | self.stale_possible_simple_keys()
2025-04-07 23:13:52 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 348, in stale_possible_simple_keys
2025-04-07 23:13:52 frigate | raise ScannerError(
2025-04-07 23:13:52 frigate | ruamel.yaml.scanner.ScannerError: while scanning a simple key
2025-04-07 23:13:52 frigate | in "<unicode string>", line 63, column 1:
2025-04-07 23:13:52 frigate | s
2025-04-07 23:13:52 frigate | ^ (line: 63)
2025-04-07 23:13:52 frigate | could not find expected ':'
2025-04-07 23:13:52 frigate | in "<unicode string>", line 64, column 1:
2025-04-07 23:13:52 frigate | version: 0.15-1
2025-04-07 23:13:52 frigate | ^ (line: 64)
2025-04-07 23:13:52 frigate | 2025-04-08 03:13:52.927501970 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-04-07 23:13:53 frigate | 2025-04-08 03:13:53.932118081 [INFO] Preparing new go2rtc config...
2025-04-07 23:13:54 frigate | Traceback (most recent call last):
2025-04-07 23:13:54 frigate | File "/usr/local/go2rtc/create_config.py", line 44, in <module>
2025-04-07 23:13:54 frigate | config: dict[str, any] = yaml.load(raw_config)
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/main.py", line 451, in load
2025-04-07 23:13:54 frigate | return constructor.get_single_data()
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/constructor.py", line 114, in get_single_data
2025-04-07 23:13:54 frigate | node = self.composer.get_single_node()
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 72, in get_single_node
2025-04-07 23:13:54 frigate | document = self.compose_document()
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 95, in compose_document
2025-04-07 23:13:54 frigate | node = self.compose_node(None, None)
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:54 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:54 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:54 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:54 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 106, in compose_node
2025-04-07 23:13:54 frigate | if self.parser.check_event(AliasEvent):
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 141, in check_event
2025-04-07 23:13:54 frigate | self.current_event = self.state()
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 634, in parse_block_mapping_value
2025-04-07 23:13:54 frigate | if not self.scanner.check_token(KeyToken):
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 1733, in check_token
2025-04-07 23:13:54 frigate | while self.need_more_tokens():
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 203, in need_more_tokens
2025-04-07 23:13:54 frigate | self.stale_possible_simple_keys()
2025-04-07 23:13:54 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 348, in stale_possible_simple_keys
2025-04-07 23:13:54 frigate | raise ScannerError(
2025-04-07 23:13:54 frigate | ruamel.yaml.scanner.ScannerError: while scanning a simple key
2025-04-07 23:13:54 frigate | in "<unicode string>", line 63, column 1:
2025-04-07 23:13:54 frigate | s
2025-04-07 23:13:54 frigate | ^ (line: 63)
2025-04-07 23:13:54 frigate | could not find expected ':'
2025-04-07 23:13:54 frigate | in "<unicode string>", line 64, column 1:
2025-04-07 23:13:54 frigate | version: 0.15-1
2025-04-07 23:13:54 frigate | ^ (line: 64)
2025-04-07 23:13:54 frigate | 2025-04-08 03:13:54.221088198 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-04-07 23:13:55 frigate | 2025-04-08 03:13:55.226745061 [INFO] Preparing new go2rtc config...
2025-04-07 23:13:55 frigate | Traceback (most recent call last):
2025-04-07 23:13:55 frigate | File "/usr/local/go2rtc/create_config.py", line 44, in <module>
2025-04-07 23:13:55 frigate | config: dict[str, any] = yaml.load(raw_config)
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/main.py", line 451, in load
2025-04-07 23:13:55 frigate | return constructor.get_single_data()
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/constructor.py", line 114, in get_single_data
2025-04-07 23:13:55 frigate | node = self.composer.get_single_node()
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 72, in get_single_node
2025-04-07 23:13:55 frigate | document = self.compose_document()
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 95, in compose_document
2025-04-07 23:13:55 frigate | node = self.compose_node(None, None)
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:55 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:55 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
2025-04-07 23:13:55 frigate | node = self.compose_mapping_node(anchor)
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
2025-04-07 23:13:55 frigate | item_value = self.compose_node(node, item_key)
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/composer.py", line 106, in compose_node
2025-04-07 23:13:55 frigate | if self.parser.check_event(AliasEvent):
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 141, in check_event
2025-04-07 23:13:55 frigate | self.current_event = self.state()
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/parser.py", line 634, in parse_block_mapping_value
2025-04-07 23:13:55 frigate | if not self.scanner.check_token(KeyToken):
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 1733, in check_token
2025-04-07 23:13:55 frigate | while self.need_more_tokens():
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 203, in need_more_tokens
2025-04-07 23:13:55 frigate | self.stale_possible_simple_keys()
2025-04-07 23:13:55 frigate | File "/usr/local/lib/python3.9/dist-packages/ruamel/yaml/scanner.py", line 348, in stale_possible_simple_keys
2025-04-07 23:13:55 frigate | raise ScannerError(
2025-04-07 23:13:55 frigate | ruamel.yaml.scanner.ScannerError: while scanning a simple key
2025-04-07 23:13:55 frigate | in "<unicode string>", line 63, column 1:
2025-04-07 23:13:55 frigate | s
2025-04-07 23:13:55 frigate | ^ (line: 63)
2025-04-07 23:13:55 frigate | could not find expected ':'
2025-04-07 23:13:55 frigate | in "<unicode string>", line 64, column 1:
2025-04-07 23:13:55 frigate | version: 0.15-1
2025-04-07 23:13:55 frigate | ^ (line: 64)
2025-04-07 23:13:55 frigate | 2025-04-08 03:13:55.559895318 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-04-07 23:13:56 frigate | 2025-04-08 03:13:56.565650459 [INFO] Preparing new go2rtc config...
(This then repeats) Install methodDocker Compose Object DetectorTensorRT Screenshots of the Frigate UI's System metrics pagesn/a Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Added some edits to correct some information, and extend log paste |
Beta Was this translation helpful? Give feedback.
-
You have an extra character in your config. Remove the |
Beta Was this translation helpful? Give feedback.
-
wow... I cant believe I didn't see that 🤦 Thank you for that. we're off to the races 2025-04-08 03:23:39.458134679 [INFO] Preparing new go2rtc config...
2025-04-07 23:23:39 frigate | 2025-04-08 03:23:39.875432526 [INFO] Starting go2rtc...
2025-04-07 23:23:39 frigate | 2025-04-08 03:23:39.960299724 03:23:39.960 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-04-07 23:23:39 frigate | 2025-04-08 03:23:39.960304557 03:23:39.960 INF config path=/dev/shm/go2rtc.yaml
2025-04-07 23:23:39 frigate | 2025-04-08 03:23:39.960920033 03:23:39.960 INF [rtsp] listen addr=:8554
2025-04-07 23:23:39 frigate | 2025-04-08 03:23:39.960997873 03:23:39.960 INF [api] listen addr=:1984
2025-04-07 23:23:39 frigate | 2025-04-08 03:23:39.961010607 03:23:39.960 INF [webrtc] listen addr=:8555/tcp
2025-04-07 23:23:42 frigate |
2025-04-07 23:23:42 frigate | Creating yolov7-320.cfg and yolov7-320.weights
2025-04-07 23:23:42 frigate |
2025-04-07 23:23:42 frigate | Done.
2025-04-07 23:23:47 frigate |
2025-04-07 23:23:47 frigate | Generating yolov7-320.trt. This may take a few minutes.
2025-04-07 23:23:47 frigate |
2025-04-07 23:23:49 frigate | 2025-04-08 03:23:49.461420926 [INFO] Starting go2rtc healthcheck service...
2025-04-07 23:23:50 frigate | /usr/local/src/tensorrt_demos/yolo/onnx_to_tensorrt.py:149: DeprecationWarning: Use network created with NetworkDefinitionCreationFlag::EXPLICIT_BATCH flag instead.
2025-04-07 23:23:50 frigate | builder.max_batch_size = MAX_BATCH_SIZE
2025-04-07 23:23:50 frigate | /usr/local/src/tensorrt_demos/yolo/onnx_to_tensorrt.py:151: DeprecationWarning: Use set_memory_pool_limit instead.
2025-04-07 23:23:50 frigate | config.max_workspace_size = 1 << 30
2025-04-07 23:23:50 frigate | /usr/local/src/tensorrt_demos/yolo/onnx_to_tensorrt.py:174: DeprecationWarning: Use build_serialized_network instead.
2025-04-07 23:23:50 frigate | engine = builder.build_engine(network, config) |
Beta Was this translation helpful? Give feedback.
You have an extra character in your config. Remove the
s
on the 2nd to the last line near the bottom above theversion
key.