Skip to content
Discussion options

You must be logged in to vote

The error you're seeing (ValueError: not enough values to unpack (expected 4, got 3)) indicates your YOLOv9 model wasn't exported correctly for Frigate's expected format. (1)

You need to export the YOLOv9 model using Frigate's specific export process. Run this command to build a properly formatted model: (1)

docker build . --build-arg MODEL_SIZE=m --build-arg IMG_SIZE=640 --output . -f- <<'EOF'
FROM python:3.11 AS build
RUN apt-get update && apt-get install --no-install-recommends -y cmake libgl1 && rm -rf /var/lib/apt/lists/*
COPY --from=ghcr.io/astral-sh/uv:0.10.4 /uv /bin/
WORKDIR /yolov9
ADD https://github.com/WongKinYiu/yolov9.git .
RUN uv pip install --system -r requirements.txt
RUN…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wigiwee
Comment options

@NickM-27
Comment options

NickM-27 Jun 11, 2026
Collaborator Sponsor

@wigiwee
Comment options

Answer selected by wigiwee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment