/ Модель

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

Лицензия
Apache 2.0
Библиотека
pytorch
Опубликована
24 ноя 2026

nrs-edge

Оценка глубиныИзображение → depth_map3 профессии
0скачиваний за 30 дней0лайковвеса обновлены24 ноя 2026

Описание модели

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

Компактная модель Necessity Robotics оценивает диспаритет и глубину по выровненной стереопаре для навигации и картографирования роботов.

nrs-edge 0.1.0 — небольшая модель стереоглубины от Necessity Robotics, разработанная для запуска на компьютерах роботов. Это сеть LiteAnyStereo v2 размера S с FasterNet-T0, корреляционным объёмом на разрешении 1/4, агрегацией стоимости и регрессией диспаритета; модель содержит 6,04 млн параметров и выполняет один проход без итераций. Она принимает выровненную по строкам RGB-пару изображений и выдаёт карту диспаритета левого изображения в пикселях с пределом 192 px. Для получения глубины в метрах диспаритет нужно объединить с фокусным расстоянием и базой стереокамеры.

Модель предназначена для навигации и картографирования робота по данным откалиброванной стереокамеры, а также для исследований и бенчмаркинга. Доступны веса PyTorch в safetensors и графы ONNX в FP32 и FP16 фиксированных размеров 480×640 и 400×640. Заявленная цель запуска на Jetson Orin Nano не подтверждена измерениями скорости на этой плате. Модель не исправляет геометрию стереопары; большие изображения при работе с ONNX масштабируются с потерей деталей. Лицензия Apache-2.0.

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

  • оценка глубины по откалиброванной стереокамере робота
  • построение карты окружения по стереоизображениям
  • оценка расстояния до объектов в сцене
  • получение карты диспаритета левого изображения
  • эксперименты и бенчмаркинг алгоритмов стереозрения

Ограничения

Требуется предварительно выровненная стереопара; модель ограничена диспаритетом до 192 px. Скорость на Jetson Orin Nano не измерялась, а пороги оценки показывают, что некоторые заявленные бенчмарк-гейты не пройдены; применение в критичных для безопасности системах требует независимого защитного слоя.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

nrs-edge 0.1.0

Small stereo depth network by Necessity Robotics: a rectified stereo pair in, the disparity (and metric depth) of the left image out. Weights as safetensors (PyTorch) and ONNX (FP32 and FP16, fixed sizes 480 x 640 and 400 x 640). Licence: Apache-2.0.

The inference code is at github.com/necessityrobotics/nrs-edge. The full model card follows.


Model card: nrs-edge 0.1.0

Summary. nrs-edge is a small stereo depth network by Necessity Robotics. It takes a rectified stereo pair and gives the disparity of the left image. With the focal length and the baseline of the rig, the disparity gives metric depth. Our aim is to run it on the robot's own computer (a Jetson Orin Nano class board). We have not measured it on such a board.

MakerNecessity Robotics (a robotics company), India
NetworkLiteAnyStereo v2, size S (LAS2-S): FasterNet-T0 feature network, correlation volume at 1/4 resolution, cost aggregation, softmax disparity regression, 4x upsampling. One pass, no iterations.
CodeThe authors' MIT code, github.com/TomTomTommi/LiteAnyStereo, commit 8c97bd4 (third_party/LiteAnyStereo in the code repository)
Parameters6,040,420 (6.04 M)
WeightsOurs. No weights of another group were used. No ImageNet weights were used.
Weights in this cardcandidate B (fine-tune of recipe A, fixed statistics); source file SHA-256 13abd7b3981f9786dd398198ed25e3d1336f9d382b586e9c5cd1d0551b4f24b1; weights fingerprint b8b8402ca978ec29f2a0ebd31a5ec46b083aa7234974fd2b34efb98749e6aede
LicenceApache-2.0

What the model is and is not

It isIt is not
A stereo network designed for a small computer: 6.04 M parameters, one forward passA monocular depth network
Input: a rectified left/right pair (rows aligned)A rectifier: rectify the pair first
Output: disparity of the left image, 0 to 192 pxA model for disparities above 192 px
Disparity for every pixelA confidence or validity output: there is none
Aimed at Jetson-class boards with TensorRT FP16A measured Jetson result: there is no device log

Inputs and outputs

  • Inputs: left, right: RGB, values 0 to 255. Grayscale images are read as three equal channels. The network normalises the values itself.
  • Output: disparity of the left image in pixels, float32. The maximum is 192 px.
  • Depth: depth [m] = fx [px] x baseline [m] / disparity [px]. Use the focal length of the rectified image.
  • Size: the PyTorch path pads the pair to a multiple of 32 (edge replication, centred) and crops the output back. The ONNX graphs have fixed sizes; infer.py pads a smaller pair to the graph size and resizes a larger pair (resizing loses detail).
  • Precision: the accuracy numbers below are FP32. The FP16 ONNX graphs keep FP32 islands (the Softmax output tail and InstanceNorm).

Release files

FileBytesSHA-256
nrs-edge.safetensors24,282,720aff7dfb82cbdba0cbfaa943bcbebc8a0583d276a3477317401e14a054054a254
nrs-edge_w640h480_fp32.onnx24,378,4384b52db5579e981bd0edfb3a43f7e7e1a4cb5c535b2ce6ba5d3337def41c1d2b6
nrs-edge_w640h480_fp16.onnx12,417,3083875321e1ac87d3e588d1fd3af20558d453b8e4565fc778f6be6c33d5dd0c541
nrs-edge_w640h400_fp32.onnx24,408,3104a59dee6859f8e7499f2d88347e597bb448b9cc4995918fe837bfb346ab07fcf
nrs-edge_w640h400_fp16.onnx12,466,9742d26e7f9840c9615f989a7294fde2d8a8cdc33b8d79b59c5c10f1cd4c122f7d4

Accuracy (zero-shot benchmark sets; see the KITTI note)

Our own evaluation harness; mask wmg (the WMG protocol: Middlebury 2014 non-occluded, every other set all valid ground-truth pixels); aggregation image_mean (mean over images); IEEE FP32 (TF32 off, mixed precision off); input padded to a multiple of 32; maximum disparity 192 px. Sets: Middlebury-H bad-2 (noc, 15 images); Middlebury 2021 bad-2 (all, 24 images); ETH3D bad-1 (all, 27 images); KITTI-12 bad-3 (all, 194 images); KITTI-15 bad-3 (all, 200 images); Booster-Q bad-2 (all, 228 images). Lower is better.

ModelMiddlebury-H bad-2Middlebury 2021 bad-2ETH3D bad-1KITTI-12 bad-3KITTI-15 bad-3Booster-Q bad-2Far band (px)FloorNearScored
first attempt (stage 3)11.6627.5022.275.225.8226.89+0.628FAIL (1 of 4)FAIL2026-11-19
recipe A13.6831.335.154.986.1130.70+0.004FAIL (2 of 4)FAIL2026-11-22
candidate A-bn (recipe A + large-crop normalisation statistics)13.6831.225.194.886.0530.00+0.021FAIL (2 of 4)FAIL2026-11-22
candidate B (fine-tune of recipe A, fixed statistics)12.7130.075.094.625.5728.63+0.011FAIL (2 of 4)PASS2026-11-24
teacher line T0, diagnostic scoring at step 100,0007.37—2.61—5.1713.89-0.034not gatednot gated2026-11-07
first attempt, stage 1 (stage gate only, not a release candidate)14.7635.3621.996.996.6932.49+0.405FAIL (0 of 4)FAIL2026-11-16
Teacher: nrs-large 0.1.0 (our own DLNR weights, trained from random initialisation on WMGStereo-150k only)3.918.442.043.384.599.22+0.017——2026-11-12
RT-IGEV, Scene Flow weights, 8 iterations (Floor bar model)11.5119.346.486.116.2923.48-0.005——2026-11-14
LAS2-S, authors' weights (Stretch bar model)11.2920.544.113.524.0120.60-0.014——2026-11-14
RAFT-Stereo, public Scene Flow weights (harness reference row, P8)8.6710.262.614.765.4817.75-0.018——2026-11-05
  • Bold = the weights of this card. Each row comes from one result file of our harness; the numbers are not rounded before the verdict.
  • Floor gate (pre-registered): at least 3 of 4 at or below the bars Middlebury-H 11.51, ETH3D 6.49, KITTI-15 6.29, Booster-Q 23.47 (RT-IGEV, Scene Flow weights, 8 iterations, first scoring).
  • Near gate (pre-registered): ETH3D at or below 5.14 (mandatory) and 2 of 3 of Middlebury-H 14.11, KITTI-15 6.02, Booster-Q 25.76.
  • Stretch (pre-registered): ETH3D 4.11, KITTI-15 4.01.
  • Far band: the mean over the ETH3D images of the median signed error at a true disparity of 1 to 9 px (only images with such pixels). Gate: at most 0.1 px.
  • The Floor bars were fixed from the first RT-IGEV scoring (2026-11-05, TF32 allowed). The FP32 re-scoring in the table differs from the bars by at most 0.011.
  • The RAFT-Stereo reference row was scored before the FP32 default (TF32 convolutions allowed) and was not scored again.
  • KITTI note: the training data has DrivingStereo images (driving scenes, labels from our teacher). The KITTI-12 and KITTI-15 columns are therefore domain-exposed, not zero-shot. No image of any benchmark set was used in training.

How often the benchmark sets were scored. Our own weights were scored on these sets 7 times in total; 5 of these are edge (LAS2-S) weights. Each candidate was scored once. Every scoring:

Result fileDateNetworkWeights SHA-256 (first 12)What
DIAG_T0_w100000.json2026-11-07 22:37dlnr9ba1e259df51teacher line T0, diagnostic scoring at step 100,000
G_TEACH_w200000.json2026-11-12 12:21dlnr17b7e60be3c8teacher nrs-large 0.1.0 gate
G_S1_w200000.json2026-11-16 20:12las2a8d64865efbffirst attempt, stage 1 (stage gate only, not a release candidate)
G_S3_w200000.json2026-11-19 14:56las2fe54ff0837e6first attempt (stage 3)
G_EDGE_A_w200000.json2026-11-22 11:42las2e2cc920aa30frecipe A
G_EDGE_Abn_w200000.json2026-11-22 14:09las2f1dbcf6389aecandidate A-bn (recipe A + large-crop normalisation statistics)
G_EDGE_B_w200000.json2026-11-24 15:04las213abd7b3981fcandidate B (fine-tune of recipe A, fixed statistics)

How these weights were chosen. The rule was fixed before any of the repair results existed (our pre-registration, amendment A10 note 28 item 6): the candidate with the higher gate level is the release candidate (Floor above Near above none); at the same level, the lower mean of (value / Floor bar) over Middlebury-H, ETH3D, KITTI-15 and Booster-Q wins. No candidate at Near or above means no release as nrs-edge without a new owner decision. This choice between pre-registered candidates uses benchmark numbers. That is a known departure from our rule "benchmarks label, they never select", and we state it here.

RankCandidateLevelMean of value / Floor bar
1candidate B (fine-tune of recipe A, fixed statistics)Near0.9986
2candidate A-bn (recipe A + large-crop normalisation statistics)none1.0573
3recipe Anone1.0655
4first attempt (stage 3)none1.6285

Result of the rule: candidate B (fine-tune of recipe A, fixed statistics). It reaches the Near level. It does not reach the Floor level (2 of 4 sets at or below the Floor bars; 3 are needed).

Speed

  • No Jetson speed was measured. Our aim is real-time depth on a Jetson Orin Nano class board with TensorRT FP16. This is an aim, not a result.
  • A desktop TensorRT timing (RTX 5090) is measured 2026-11-24: TensorRT 11.4 FP16 (strongly typed), RTX 5090, 400x640, end to end with copies p50 3.18 ms, p99 4.07 ms (Python, desktop; not an edge number). A desktop number is not an edge number.

Training

Stages of these weights (from the run_config.json of each stage, oldest first):

Stage (run)Start weightsStepsOne stepLarge-crop samplesSmall-crop samplesPeak learning rateFeature network frozen (steps)Seed
S1a_las2s_recipeA_s20261119fd_pre_s1/w_init.pth20,00064 crops 128x256 only (large crops not used in this stage)01,280,0000.0002200020261119
S1b_las2s_recipeA_s20261119S1a_las2s_recipeA_s20261119/LAS2_S_final.pth40,0004 x 16 crops 384x768 + 64 crops 128x256 (small part weight 0.5)2,560,0002,560,0000.0002020261119
S3_las2s_recipeA_s20261119S1b_las2s_recipeA_s20261119/LAS2_S_final.pth200,0004 x 16 crops 384x768 + 64 crops 128x256 (small part weight 0.5)12,800,00012,800,0000.0002020261119
B_las2s_recipeA_ft_s20261122S3_las2s_recipeA_s20261119/LAS2_S_final.pth200,0006 x 16 crops 384x768 + 64 crops 128x256 (small part weight 0.5); BatchNorm statistics fixed (eval mode) from bn_large_stats.pt19,200,00012,800,0000.0001020261122

Power cuts. The last stage (B_las2s_recipeA_ft_s20261122) was stopped by 2 power cuts on 2026-11-23. It resumed from its last saved state with the same command each time, at steps 128,372 and 129,594. About 1,530 steps were run again. No setting was changed. (Record: our pre-registration, A10 note 30 item 1.)

Training data

SourcePairsLicenceLicence evidenceRoleShare in S1a_las2s_recipeA_s20261119Share in S1b_las2s_recipeA_s20261119Share in S3_las2s_recipeA_s20261119Share in B_las2s_recipeA_ft_s20261122
StereoGenBench (train/IPD_Gaussian and train/Uniform; captions not downloaded)81,891CC BY 4.0licence text read: card and paper appendix K (copy stored by Necessity Robotics); the paper says that third-party source assets keep their original licence termssynthetic; true labels0.3500.3500.1750.175
WMGStereo-150k, indoor71,800BSD-3-Clausetag only (Hugging Face card, read again 2026-11-24: bsd-3-clause); generator repository BSD-3 text readsynthetic; true labels0.2200.2200.1100.110
TartanAir V1 (hold-out environments excluded)45,903CC BY 4.0licence text read (copy stored by Necessity Robotics)synthetic; true labels0.2000.2000.1000.100
TartanAir V2, indoor environments43,208CC BY 4.0licence text read on the site tartanair.org (CC BY 4.0); the Hugging Face card is tagged bsd-3-clause; we follow the sitesynthetic; true labels0.1500.1500.0750.075
WMGStereo-150k, nature_filtered13,669BSD-3-Clausetag only (Hugging Face card, read again 2026-11-24: bsd-3-clause); generator repository BSD-3 text readsynthetic; true labels0.0800.0800.0400.040
Own OAK-D Lite recordings (Necessity Robotics)10,065own dataown recordingsreal images; labels from our own teacher nrs-large——0.0530.053
TUM-VI (rectified, 512 px, room and corridor)14,199CC BY 4.0licence text read (copy stored by Necessity Robotics)real images; labels from our own teacher nrs-large——0.0740.074
Rosario v23,456CC BY 4.0licence text read (copy stored by Necessity Robotics)real images; labels from our own teacher nrs-large——0.0180.018
DrivingStereo (left/right images only)19,120MITlicence text read: 'This dataset is released under the MIT license.' (copy stored by Necessity Robotics)real images; labels from our own teacher nrs-large——0.1000.100
TartanRGBT (ZED left/right images only; its FoundationStereo depth was not used)24,545BSD-3-Clause-Cleartag only (Hugging Face card, read again 2026-11-24: bsd-3-clause-clear)real images; labels from our own teacher nrs-large——0.1290.129
DROID (raw ZED stereo)16,421CC BY 4.0licence text read (paper; copy stored by Necessity Robotics)real images; labels from our own teacher nrs-large——0.0860.086
Unitree G1 head stereo (Hugging Face unitreerobotics/*, rectified streams)3,751Apache-2.0tag only (Hugging Face cards; all 33 repositories read again 2026-11-24: apache-2.0)real images; labels from our own teacher nrs-large——0.0200.020
FoMo (boreal forest, ZED X rectified)3,759CC BY 4.0LICENSE.txt in the data bucket (read by us; our pre-registration, A9 note 6)real images; labels from our own teacher nrs-large——0.0200.020
  • Synthetic pairs: 256,471, with true labels. Real pairs: 95,316, with labels from our own teacher.
  • Teacher: nrs-large 0.1.0 (our own DLNR weights, trained from random initialisation on WMGStereo-150k only). Its own card states its training and its scores.
  • Start of the feature network: distilled from our own teacher (label-free), from random weights. The run configuration states: "S1b start weights from --init (stage 1: feature network distilled from the own teacher T-W, no outside weights; stage 3: the stage-1 weights)".
  • Feature pre-stage: 4,000 steps, batch 64, crops 128x256, teacher TW_dlnr_wmg_s20261105/w_200000.pth.
  • No weights of another group and no ImageNet weights: the network is built with fnet_pretrained=False. The authors' LAS2 weights and the RT-IGEV weights were used only for evaluation.
  • Never trained on: Middlebury, ETH3D, KITTI, Booster (the benchmark sets).
  • Licence evidence: "text read" means we read the licence sentence; "tag only" means the only statement is a licence tag on a dataset card. Details: ATTRIBUTION.md.

Known limits

  • Failed attempts, stated plainly. These scored candidates did not reach the Floor or the Near gate: first attempt (stage 3) (Floor 1 of 4, Near FAIL); recipe A (Floor 2 of 4, Near FAIL); candidate A-bn (recipe A + large-crop normalisation statistics) (Floor 2 of 4, Near FAIL).
  • Glass, mirrors, screens (Booster-Q, 228 images): bad-2 28.63, above the Floor bar 23.47. Worst images: TV/im2 86.8, TV/im0 81.0, TV/im1 81.0, TV/im3 80.7.
  • Large disparities (Middlebury-H, 15 images): bad-2 12.71, above the Floor bar 11.51. Worst images: Jadeplant 39.1, Vintage 33.1, Shelves 21.6, Playtable 17.6.
  • Pixels with a true disparity above 192 px are always wrong: the network has a 192 px range. On Middlebury-H they are 2.9 % of the scored pixels. (Record: our pre-registration, A10 note 27 item 2.)
  • Large disparities are weak. Recipe A against the first attempt, pooled bad-2: Middlebury-H 50-100 px 11.9 against 8.6; Booster-Q 100-192 px 35.3 against 31.2. Measured: 15.4 M large-crop samples against 51.2 M. Our reading: this is the main cause (not proven). (Record: our pre-registration, A10 note 27 items 2 and 3.)
  • The stored normalisation statistics of recipe A did not fit full-size images (own test: 1.45 px stored, 0.93 px with statistics from large crops). Candidate A-bn uses the large-crop statistics; its gate values are in the table above. (Record: our pre-registration, A10 notes 27 and 29.)
  • The real training pairs keep a vertical offset of 0.3 to 0.6 px after the label repair (OAK, DrivingStereo, TUM-VI, Rosario). Pairs above 1.0 px were left out. (Record: internal audit report of 2026-11-19, section 19.4.)
  • Our own synthetic large-disparity test does not predict the real indoor sets: the authors' LAS2-S scores 2.87 px on it (recipe A with large-crop statistics 0.86 px; the released weights 0.74 px) and is better on Middlebury and Booster. (Record: our pre-registration, A10 note 27 item 5; note 30 item 2.)
  • No confidence output. Every pixel gets a disparity, also where the answer is a guess (sky, glass, blank walls).
  • Rectification and vertical offset. The output is only as good as the rectification of the rig. A vertical offset between the two images makes the result worse.
  • FP16: the FP16 graphs were checked on ONNX Runtime CPU only. No GPU or device FP16 accuracy result is in this card; the desktop timing above is a timing only.
  • Not for safety-critical use without an independent safety layer.

How the 0 to 3 px fault was cured

The first attempt had a fault at true disparities of 0 to 3 px: the output stayed near a constant value (ETH3D bad-1 22.27). Recipe A cured it with two standard steps. (1) A label-free pre-stage: the feature network of the student learns the feature map of our own teacher (cosine loss), as in the hint stage of FitNets (Romero et al., ICLR 2015) and the backbone distillation of Fast-FoundationStereo (Wen, Dewan, Birchfield, arXiv 2512.11130). (2) The feature network is frozen for the first 2,000 training steps and then trained with the rest, the order that LP-FT (Kumar et al., ICLR 2022) recommends. Recipe A then trains on small crops first and adds large crops after that. ETH3D bad-1 fell from 22.27 to 5.15; the far-band value fell from +0.628 px to +0.004 px. We do not claim this as a new method. The record of the fault and the cure is in our audit report (sections 15 and 16).

Intended use

  • Depth for a robot's own navigation and mapping, from a calibrated, rectified stereo camera.
  • Research and benchmarking, with the numbers above.

Out of scope: safety-critical use without an independent safety layer; unrectified or monocular input; objects nearer than the 192 px disparity limit; measurement or survey work.

Citation and credits

The network design and code are by Jing et al.: Lite Any Stereo: Efficient Zero-Shot Stereo Matching, CVPR 2026; Lite Any Stereo V2, arXiv 2606.24457. Please cite their work with this release. The data credits are in ATTRIBUTION.md and NOTICE.

Contact: necessityrobotics@gmail.com

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

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

GPU в ailist

Универсальный рантайм · pytorch · depth-estimation

Можно запустить

Подбираем GPU…

Ревизия весов
8512822

0 моделей