/ Модель

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

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

rpp-mask

Сегментация изображенийИзображение → mask3 профессии
0скачиваний за 30 дней0лайковвеса обновлены1 дек 2026

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

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

Семейство RPP mask сегментирует снимки Perseverance и Curiosity, исключая ровер и его тени из фотограмметрической реконструкции.

RPP mask — набор моделей реконструкции масок для Rover Photogrammetry Pipeline, разработанный авторами проекта RPP. Представленная карточка описывает семейство версий; новейшая rpp_mask_v5 использует ConvNeXt-Tiny с FPN, лёгким ASPP и декодером со связью на stride 4, содержит 31,2 млн параметров и хранится в формате safetensors. Модель присваивает каждому пикселю класс включения или исключения для фотограмметрической реконструкции: оставляет рельеф и небо, исключая элементы ровера, его тени и другие искусственные объекты.

Модель предназначена для подготовки снимков марсоходов Perseverance и, в версии v5, Curiosity к фотограмметрической реконструкции и построению структуры движения. Валидация на размеченных кадрах показывает высокое качество сегментации, однако оценка зависит от камеры и обучающей выборки. Границы масок имеют погрешность в несколько пикселей; для Mastcam-Z ошибки встречаются чаще, а результаты для некоторых камер и нетипичных условий освещения менее надёжны. Версия v5 для Curiosity проверена только на снимках Navcam и передней Hazcam. Модель распространяется по лицензии Apache-2.0.

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

  • маскирование деталей ровера Perseverance на снимках Navcam и Mastcam-Z
  • исключение теней и оборудования ровера из фотограмметрии
  • подготовка кадров Mars 2020 к построению структуры движения
  • маскирование снимков Curiosity Navcam и передней Hazcam в версии v5
  • сегментация рельефа и неба для реконструкции поверхности Марса

Ограничения

Границы разметки могут иметь погрешность в несколько пикселей; качество ниже или менее определённо для сложных ракурсов, отдельных камер, незнакомых условий освещения и камер Curiosity, не представленных в обучении. Маски предназначены для фотограмметрии, а не для точной сегментации объектов.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

RPP mask models (rpp_mask_v5, rpp_mask_v4, rpp_mask_v3, ...)

These are the reconstruction-mask models of RPP, the Rover Photogrammetry Pipeline (documentation). For each pixel of a Mars 2020 Perseverance image (and, from rpp_mask_v5, a Curiosity Navcam or Hazcam image), a model predicts whether that pixel should be used for photogrammetric reconstruction:

  • Include means terrain and sky.
  • Exclude means rover hardware, rover shadows and other artificial objects: the robotic arm, drill bits, Ingenuity, the belly pan, sample tubes and debris.

The masks keep features on the rover from tying rover stations together in structure-from-motion.

Formerly ctate7163/mppp-mask: the pipeline was called MPPP (Mars Photogrammetry Preprocessing Pipeline) until 0.98, and the models mppp_mask_v1 .. mppp_mask_v4. The files under their old names (mppp_mask_convnext_tiny_s4_v*.safetensors) stay in this repository; the rpp_mask_convnext_tiny_s4_v* files are the same bytes, with the same SHA-256. rpp_mask_v5 was released after the rename and has no old name.

RPP's default since 1.0 is rpp_mask_v5 (see Versions); select another with "checkpoint": "rpp_mask_v3".

Newest: rpp_mask_v5 (18 Nov 2026, with Curiosity frames)

filerpp_mask_convnext_tiny_s4_v5.safetensors (124,856,764 bytes)
SHA-256d32dd2cf76aa9e171f1c6da17042e50f64b11439da85ad6197f6223b684d1bb6
architectureas rpp_mask_v4: ConvNeXt-tiny + FPN (256) + light ASPP + stride-4 decoder skip, one logit (31.2 M parameters)
input, outputas rpp_mask_v4; sigmoid > 0.5 = include, no dilation of the include region
training datathe v8 mask set as of 18 Nov 2026, with Curiosity (MSL) Navcam and front Hazcam frames added: 4,965 training frames (198 of them Curiosity) and 479 held-out frames (RPP's frozen test list)
trainingfine-tuned from the v5.1 run, itself fine-tuned from rpp_mask_v3; AdamW, lr 1e-5 (cosine, 5 % warm-up), weight decay 5e-3, batch 4, gradient clip 1.0, bf16; BCE + Tversky (α 0.3, β 0.7) with a 2 px band at the label edges left out of the loss; the checkpoint is from the first epoch (its card records one epoch)
augmentationhorizontal flips; a random zoom crop (1–2×) in half of the Navcam and Hazcam samples; a mild photometric change in half of the samples; gray in 10 %
held-out IoU0.978 (include class, mean per batch, the frozen test list)

Validation on frames no model trained on. validation_set_v1: 100 frames of RPP's aligned blocks that are in no training set (and, for the Mars 2020 cameras, no stereo partner or sequence of a training frame either), stratified by camera; 90 were cleaned by hand and scored. Exclusion class, valid pixels only:

cameraframesrpp_mask_v3 IoUrpp_mask_v5 IoUrpp_mask_v5 recallrpp_mask_v5 precision
Navcam250.9720.9760.9840.992
Mastcam-Z290.9610.9620.9840.977
Front Hazcam100.9780.9720.9800.991
Rear Hazcam60.9870.9870.9950.992
Curiosity Navcam140.9710.9830.9890.993
Curiosity front Hazcam60.9340.9680.9780.990
all900.9730.9740.9830.991

Over all 90 frames rpp_mask_v5 is 0.0017 higher than rpp_mask_v3 (95 % interval -0.0063 to +0.0091, paired by frame): no difference overall. What it adds is the Curiosity cameras, which rpp_mask_v3 never saw (Navcam 0.983 against 0.971, front Hazcam 0.968 against 0.934); on the Mars 2020 front Hazcam it is a little lower (0.972 against 0.978). Read the numbers with three cautions:

  • The hand-cleaned masks started from the mean of three other models (v3 and two unreleased runs), so any lean of the labels favors those, not v5.
  • It is one training run. An earlier run of the recipe without the Curiosity frames scored 0.977 (its checkpoint was not kept), and runs kept at the end of a full schedule 0.965 to 0.971: run-to-run spread is larger than the difference from v3.
  • Some Curiosity validation frames may share sequences with Curiosity training frames; for those cameras the independence is weaker than for the Mars 2020 cameras.

Versions

namefiletraineddataheld-out IoUnotes
rpp_mask_v5rpp_mask_convnext_tiny_s4_v5.safetensors18 Nov 2026, fine-tune of v5.1 (from v3), epoch 1v8 set with Curiosity frames, 4,965 training frames0.978newest; 0.974 on validation_set_v1 (v3: 0.973); the model for Curiosity frames
rpp_mask_v4rpp_mask_convnext_tiny_s4_v4.safetensors30 Oct 2026, best of 20 epochs (13)v8 set, 4,095 masks, pipeline images only, zoom crops0.978
rpp_mask_v3rpp_mask_convnext_tiny_s4_v3.safetensors26 Sep 2026, best of 10 epochs (9)v7 set, 3,931 masks + brightness-varied copies0.979RPP's default until 0.99
rpp_mask_v2rpp_mask_convnext_tiny_s4_v2.safetensors25 Sep 2026, 4 epochsv7 set0.977
rpp_mask_v1rpp_mask_convnext_tiny_s4_v1.safetensors24 Sep 2026, 3 epochsv7 set0.971

The held-out IoUs in this table come from different splits of different sets, so they are not a comparison: validation_set_v1 above is the one set on which the models are compared fairly. RPP's rpp_studies.mask_training.compare_mask_models scores any models on the same frames. The default is set in RPP's src/rpp/data/models.json; select a model with "checkpoint": "rpp_mask_v5".

All versions have the same architecture and input. Each file carries its full model card (every inference setting and the training history) in its safetensors metadata under mppp_card; rpp.mask.model.load_model(path) reads it.

Use

With RPP, the model is downloaded from this repository on first use, checked against its SHA-256 and kept in the user cache:

import rpp
cfg = rpp.load_config({"masking": {"infer_mask": True, "checkpoint": "rpp_mask_v5"}})
manifest = rpp.process_images(paths, "out/", cfg, rpp.load_waypoints())

Direct inference:

from rpp.mask import infer_mask
mask, probability, card = infer_mask(rgb_uint8_image, "rpp_mask_v5")

Without RPP:

  • safetensors.torch.load_file(path) gives the weights.
  • safetensors.safe_open(path, "pt").metadata()["mppp_card"] gives the card (JSON).

To retrain on a newer mask set, use RPP's rpp_studies.mask_training.train_mask, or scripts/windows/train_masks.bat on Windows.

Limitations

  • Boundaries: the labels are hand-drawn polygons, so boundaries are accurate to a few pixels, and some rover parts are drawn coarsely.
  • Mastcam-Z: it is the hardest camera (exclusion IoU 0.945 for v4 on its held-out frames, 0.968 for v5 on validation_set_v1). Its narrow fields show small rover parts and shadows at high magnification, and those are where most of the errors are.
  • Hazcams and WATSON: they have few held-out frames (2–15), so their scores are uncertain.
  • Curiosity: only rpp_mask_v5 has seen Curiosity frames, and only Navcam and front Hazcam ones; Mastcam and the rear Hazcams of Curiosity are untested.
  • Unfamiliar frames: frames unlike the training set (other cameras, unusual illumination, dust on the optics) may be masked less reliably.
  • Intended use: the masks are meant to remove rover features from photogrammetry, not to serve as precise segmentations.

Provenance and license

Apache-2.0, as for RPP, released with the approval of Malin Space Science Systems. The training images are public Mars 2020 and Mars Science Laboratory products from the NASA Planetary Data System (Navcam and Hazcams: NASA/JPL-Caltech; Mastcam-Z: NASA/JPL-Caltech/ASU/MSSS; SHERLOC WATSON: NASA/JPL-Caltech). The masks (labels) and the models are the author's own work.

Citation

Please cite RPP as described in its CITATION.cff.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
07e2a8d

0 моделей