/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
SceneSeg
Опубликована
9 окт 2026

sceneseg-p150

Сегментация изображенийИзображение → mask3 профессии

SceneSeg на Tenstorrent p150 сегментирует изображения автомобильной камеры, выделяя объекты переднего плана и проезжую часть.

0скачиваний за 30 дней0лайковвеса обновлены15 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

changh95/sceneseg-p150 — пакет модели SceneSeg от Autoware Foundation, подготовленный для запуска на ускорителе Tenstorrent p150. Это сеть сегментации изображений с энкодером EfficientNet-B0, блоком SceneContext и декодером в стиле U-Net; в README указано 48,3 млн параметров. Модель принимает одно изображение камеры любого размера, приводит его к размеру 640×320 и выдаёт бинарную маску переднего плана и карту классов: фон, объекты переднего плана и проезжая часть. Репозиторий содержит исходные веса SceneSeg_FP32.onnx без изменений и пакет для запуска через собственный HTTP-сервер или Python API.

Модель предназначена для сегментации изображений передней камеры с углом обзора 52–55° — для прототипирования, исследований и офлайн-обработки записей поездок в сценариях, подобных VisionPilot. Лицензия репозитория — Apache-2.0. Модель не сертифицирована для управления автомобилем или функций безопасности. Веса пропускают мелких и удалённых людей и двухколёсный транспорт, могут относить парковки и часть тротуаров к дороге; точность ниже на камерах с более широким углом обзора. Профиль bgr воспроизводит перестановку каналов исходного узла и может ухудшать маски; для лучшего результата README рекомендует rgb.

Сценарии применения

  • создание маски переднего плана на кадрах автомобильной камеры
  • разметка проезжей части и объектов для офлайн-анализа поездок
  • прототипирование сегментации дорожных сцен для систем компьютерного зрения
  • пакетная обработка записанных изображений в сценариях VisionPilot

Ограничения

Модель не предназначена для управления автомобилем и не имеет квалификации функциональной безопасности; она может пропускать мелких и удалённых людей и двухколёсный транспорт, ошибочно размечать парковки и тротуары как дорогу, а также хуже работать на камерах с широким углом обзора. Вход принудительно масштабируется до 640×320 с искажением пропорций; профиль bgr сохраняет ошибочный порядок каналов исходного узла, поэтому README рекомендует профиль rgb для более качественных масок.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

sceneseg-p150 on Tenstorrent p150

Derived from SceneSeg, the scene segmentation network of the Autoware Foundation's VisionPilot camera stack (autowarefoundation/vision_pilot, formerly autoware.privately-owned-vehicles), as its scene_seg_model node deployed it, with unmodified weights: VisionPilot's SceneSeg_FP32.onnx, re-hosted from the upstream Google Drive link in the weights/ folder of this repo (the upstream card AutowareFoundation/SceneSeg holds no weights). SceneSeg has no paper. See the original model card for training details.

SceneSeg, a 48.3M-parameter camera segmentation network (EfficientNet-B0 encoder, a SceneContext block that gates the stride-32 features with a global prior, and a UNet-style decoder of five 2x up-blocks with a 3-class head) on a fixed 640x320 input (367 GFLOPs per frame). One camera image of any size goes in. Out come the VisionPilot foreground mask (mono8, 255 = foreground, at the input's size) and a 3-class map (background, foreground objects, drivable road), with the pre- and post-processing of the scene_seg_model node (squash to 640x320 with OpenCV's INTER_LINEAR, ImageNet normalisation, argmax, nearest-neighbour resize back).

Runs on Tenstorrent p150 — see the serving profiles below.

Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).

At a glance

Hardwarep150
Licenseapache-2.0

Intended use

Camera scene segmentation (foreground objects and drivable road) for a VisionPilot-style front camera of 52-55° horizontal field of view: research, prototyping and offline processing of recorded driving images, with the output of VisionPilot's scene_seg_model node.

Prerequisites

  • The Tenstorrent CLI, tt: uv tool install tenstorrent (or use tt-model alone, see the Quickstart)
  • Docker
  • Tenstorrent hardware: p150

Quickstart

tt serve changh95/sceneseg-p150

tt serve downloads the Docker image and the changh95/sceneseg-p150 at a6829b246a05dba55c356323bbf75f7b1d148499 weights (into your HF cache; they are not in the image), then starts the model's own HTTP server on port 20000 (or the next free port, if that one is busy). The first start compiles kernels for your device, which takes several minutes; the server is ready when it logs Application startup complete.

Without tt-cli: tt-model serve changh95/sceneseg-p150.

Send the sample image shipped in this repo (a VisionPilot tutorial image) to /predict, on the port tt serve reported:

curl -sLO https://huggingface.co/changh95/sceneseg-p150/resolve/main/code/tt_sceneseg/samples/highway_normal_1.png
printf '{"images": [{"camera": "CAM_FRONT", "data": "%s"}], "params": {"class_map": true}}' "$(base64 -w0 highway_normal_1.png)" > req.json
curl -s localhost:20000/predict -H 'Content-Type: application/json' -d @req.json

Serving profiles

Select a different serving profile using --profile.

profilehardwaremeshdescription
bgr (default)p150P150Deployed VisionPilot order (default): B, G, R planes, exactly what the scene_seg_model node computes
rgbp150P150Training order: R, G, B planes (clearly better on two-wheelers; see the model card)

Capabilities

This package exposes the model's own HTTP server on port 20000, not an OpenAI-compatible chat API — its request and response shapes are the model's own. See the author's notes for the payload it expects.

POST /predict takes one camera image as JSON and returns its foreground mask and class map. GET /health and GET /info report the server and device state; GET /v1/models is a stub, not a chat API.

request fieldmeaning
imagesexactly one entry, {"camera": "<name>", "data": "<base64 PNG or JPEG>"}; any image size; decoded to BGR8 as the VisionPilot node receives it
params (optional)class_map (default true): also return the 3-class map
output_format (optional)json (default; the mask and the class map as base64 PNG) or npz (lossless npz arrays)

Response for the sample image (bgr profile; the PNG data elided):

{"model": "sceneseg-p150", "frame_id": "camera",
 "meta": {"channel_order": "bgr", "source_hw": [414, 727], "network_hw": [320, 640], "foreground_class": 1, "mask_value": 255, "foreground_fraction": 0.040156},
 "mask": {"format": "png", "key": "mask", "dtype": "uint8", "shape": [414, 727], "data": "<base64 PNG>"},
 "class_names": ["background", "foreground", "road"],
 "class_counts": {"background": 166581, "foreground": 12086, "road": 122311},
 "class_map": {"format": "png", "key": "class_map", "dtype": "uint8", "shape": [414, 727], "data": "<base64 PNG>"},
 "timing_ms": {"preprocess": 1.976, "device": 13.236, "postprocess": 0.749, "total": 44.344, "decode": 18.425, "model_call": 15.978}}
  • mask is what the VisionPilot node publishes on /autoseg/scene_seg/mask: one uint8 per pixel of the input image, 255 where the per-pixel argmax is class 1 (foreground), else 0, resized back from 640x320 with nearest neighbour.
  • class_map is the 3-class argmax on the same pixel grid (0 background including sky, 1 foreground objects, 2 drivable road), which the node does not publish; class_counts counts its pixels.
  • A Python API with the same outputs (tt_sceneseg.SceneSeg) is described in code/PYTHON.md; it needs a tt-metal build with the two patches in this repo's patches/ directory.

Example output

SceneSeg on a Tenstorrent p150: foreground and road segmentation on an Argoverse 2 front-camera drive in downtown Pittsburgh

Foreground mask and road class computed by this package (bgr profile) on 50 front-camera images of Argoverse 2 Sensor val log 280269f9 (Pittsburgh, a downtown intersection, 10 Hz), as a 16:9 band of the portrait camera image, also as MP4. Non-commercial use only: rendered from the Argoverse 2 dataset, © 2021 Argo AI, LLC, CC BY-NC-SA 4.0 and the Argoverse Terms of Use; Argo AI does not endorse this work. Attributions for every file in media/: media/ATTRIBUTION.md.

Expected performance

Agreement with the fp32 CPU reference of the same network (ONNX Runtime on the deployed SceneSeg_FP32.onnx, same pre- and post-processing), bgr profile unless stated:

evalthis packagefp32 CPU referenceimages
Pixels with the same class as the reference, sample image: 640x320 class map / published mask99.993 % / 99.996 %–1
Logits PCC, sample image / minimum over the public gate frames0.9999978 / 0.9999972–1 / 23
Argmax agreement, public gate frames: minimum / mean99.950 % / 99.984 %–23
Argmax agreement, held-out public frames: minimum / mean, bgr99.846 % / 99.984 %–415
Argmax agreement, held-out public frames: minimum / mean, rgb99.914 % / 99.988 %–415
Foreground IoU vs ground truth, comma10k validation split (authors' protocol), bgr / rgb0.553 / 0.6010.553 / 0.601100
Pooled foreground IoU vs ground truth, KITTI semantics 2015, bgr / rgb0.785 / 0.8130.785 / 0.813200
Foreground IoU vs projected LiDAR labels, PandaSet front camera, bgr / rgb0.821 / 0.8810.822 / 0.88148
Foreground IoU vs projected LiDAR labels, nuScenes CAM_FRONT, bgr / rgb0.698 / 0.7120.697 / 0.71355

Gate frames: the 9 VisionPilot tutorial images, 2 comma10k images, 8 PandaSet and 4 nuScenes frames. Held-out frames: KITTI 200, comma10k validation 100, nuScenes 55, PandaSet 48, comma10k 12. The ground-truth rows map the dataset labels to SceneSeg's three classes (vehicles, two-wheelers and people are foreground); the LiDAR rows are a sparse proxy (points 1-40 m projected into the camera) and the comma10k validation split is reconstructed from the upstream code. SceneSeg has no published benchmark to compare with.

speed (batch 1, warm)inputmedianthroughput
Device time per frame, back-to-back trace replays, bgr / rgb640x320 network input12.58 ms / 12.58 ms79.5 frames/s
Python model() call (decode, squash, device, post-processing), bgr727x414 PNG (sample image)22.54 ms (p99 23.38)44 frames/s
Python model() call, rgb727x414 PNG (sample image)22.66 ms (p99 23.48)44 frames/s
Python model() call, bgr1920x1080 JPEG (PandaSet)28.69 ms (p99 30.60)35 frames/s
Served POST /predict, server timing_ms.total, bgr / rgb727x414 PNG (sample image)41.8 ms / 41.2 ms–
Served POST /predict, client round trip on loopback, bgr / rgb727x414 PNG (sample image)47.6 ms / 46.6 ms–

Measured with this package's code on one p150 in an 8-vCPU AMD EPYC-Rome host: code/scripts/bench.py (100 warm iterations per stage; device time over 5 rounds of 50 back-to-back replays) and 50 (bgr) / 20 (rgb) served requests of the sample image. The model() and served times are host-bound: image decode takes about 11 ms of the call, and the server's base64 and PNG decode of the request another 17 ms.

Limitations

  • Do not use it to drive or control a vehicle or as any safety function: it is not a certified Autoware component and has no functional-safety qualification.
  • Do not use it as an Autoware Universe component: SceneSeg is not part of Autoware Universe, and VisionPilot 1.0 no longer ships it. The package reproduces the scene_seg_model node of VisionPilot's deployment code at commit 04fa3e80.
  • The default bgr profile reproduces the deployed node exactly, including its channel order: it feeds B, G, R planes to a network trained on R, G, B. Use rgb for better masks, above all on two-wheelers and people (6 % of PandaSet bicycle points come out foreground in bgr, 79 % in rgb); rgb is not what VisionPilot ran.
  • Not a ROS 2 node: it serves HTTP and Python only. The INT8 QAT model and SceneSegLite (a different 19-class network) are not included.
  • Batch 1, one image per request; requests are served one at a time. The network input is fixed at 640x320: any image is squashed to it without keeping the aspect ratio, as the node does.
  • One p150 only. The image runs device dispatch on the chip's Ethernet cores, so multi-chip meshes are not supported.
  • Outputs were compared with the fp32 CPU reference (ONNX Runtime), not with VisionPilot's TensorRT FP16 engine.
  • Mixed bf16 precision on the device (backbone weights and activations as two bf16 terms, a one-term bf16 decoder, fp32 accumulation): the class decision differs from the fp32 reference on a few pixels near class boundaries, at least 99.846 % of pixels equal on every held-out frame.
  • The weights themselves (on CPU and on p150 alike) miss small and distant people and two-wheelers, label parking areas and about a third of sidewalk points as road, keep trams as background, and score lower on wider cameras (nuScenes, 65°) and on frames that show the ego hood.

Licensing

  • Weights: weights/ of this repo at commit a6829b246a05dba55c356323bbf75f7b1d148499: VisionPilot's SceneSeg_FP32.onnx (sha256 8e509094…c973, checked at load) and its .pth as safetensors, re-hosted unchanged from the upstream Google Drive links with the upstream Apache-2.0 LICENSE, NOTICE and provenance. Downloaded by tt serve at that commit, not baked into the image. The upstream model card lists the training data (ACDC, MUSES, IDDAW, Mapillary Vistas, comma10K); check those datasets' terms before commercial use.
  • Pre- and post-processing ported from autowarefoundation/vision_pilot VisionPilot/middleware_recipes/ROS2/models (Apache-2.0).
  • Port and serving code (code/) and the tt-metal patches in patches/: Apache-2.0.
  • Sample images code/tt_sceneseg/samples/*.png: the upstream SceneSeg tutorial images (Apache-2.0). code/tt_sceneseg/samples/comma10k/: six comma10k images with their masks (MIT, © 2020 Comma.ai, Inc.).
  • Demo media in media/ are renders, not part of the package. The demo video comes from Argoverse 2 (non-commercial use only, CC BY-NC-SA 4.0, © 2021 Argo AI, LLC); the nuScenes render media/sceneseg_nuscenes_scene0103_k28_front_tt_NC.jpg is non-commercial use only, CC BY-NC-SA 4.0, © Motional AD Inc.; the KITTI render media/sceneseg_kitti_heldout_tt_NC.jpg is non-commercial use only, CC BY-NC-SA 3.0. The PandaSet renders: CC BY 4.0 and the PandaSet Dataset Terms (Scale AI and Hesai). No dataset owner endorses this work. Full attributions: media/ATTRIBUTION.md.

Related packages

  • The Autoware collection: the other Autoware perception and planning models packaged for the p150.

Feedback

Questions or problems with this package: open a discussion at https://huggingface.co/changh95/sceneseg-p150/discussions — that is what reaches its author. A problem with the tt tooling itself: tt report issue (collects your environment and opens a prefilled issue against tenstorrent/tt-cli). Product feedback: support@tenstorrent.com.

Provenance

The exact sources the image was built from — code/ in this repo is byte-identical to the model code inside the image:

componentbuilt from
tt-metal44d66500520fda9f2c7060c0f6b41ec48f7ab37e (dirty tree — the image includes uncommitted changes)
code/ digest096e027234d50a21 (sha256, first 16 hex digits)
built2026-10-16T17:05:34+00:00 by tt-model 0.1.0

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
9718e1e

0 моделей