/ Модель

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

Лицензия
Своя лицензия
Базовая модель
CorridorKey2.0
Библиотека
mlx
Опубликована
21 окт 2026

CorridorKey-v2-MLX-fp32

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

FP32-конверсия CorridorKey 2.0 для MLX на Apple Silicon, выделяющая передний план и маску при удалении зелёного или синего фона.

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

Бенчмарки

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

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

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

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

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

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

CorridorKey-v2-MLX-fp32 — конверсия модели CorridorKey 2.0 для запуска на Apple Silicon через MLX. Исходную модель разработал Zachary Harris совместно с Niko Pueringer и Corridor Digital; MLX-реализацию поддерживает Peter Teravskis. Репозиторий содержит профили вывода с сохранёнными значениями параметров FP32: дообучение и переобучение не проводились. Модель выделяет передний план и строит маску прозрачности для удаления зелёного или синего фона в изображениях и видеоматериале.

Модель предназначена для хромакея, подготовки масок и композитинга. Профили специализированы под заданные размеры изображений; для обработки видео поддерживаются отдельные профили последовательностей кадров. Запуск требует Apple Silicon и сопутствующего MLX-runtime; это не чекпойнт для Transformers или MLX-LM. Конверсия сохраняет тензоры исходного FP32-релиза, но сама по себе не меняет его обученные решения. Тонкие волосы, полупрозрачные объекты, размытие и сложные края могут требовать проверки художником или подсказок. CLI экспортирует SDR PNG и видео и не предоставляет исходный HDR EXR-процесс. Лицензия указана как other; README не уточняет её условия для этой модели.

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

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

Ограничения

Требуются Apple Silicon, сопутствующий MLX-runtime и входные размеры, соответствующие имеющимся профилям; произвольные размеры и обучение не поддерживаются. Тонкие волосы, прозрачные объекты и размытие могут требовать ручной проверки; стандартный CLI не поддерживает HDR EXR.

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

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

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

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

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

Открыть на Hugging Face

CorridorKey v2 · MLX · FP32

FP32 matting profiles for Apple Silicon

Source & CLI · Original model · Original project · License

This repository contains the FP32 profiles of CorridorKey 2.0 for Apple Silicon. The conversion preserves the learned FP32 parameter values. No fine-tuning or retraining was performed.

All variants · FP32 · FP16 · Q8 / 8-bit · Combined bundle

The original model was designed and trained by Zachary Harris in direct collaboration with Niko Pueringer and Corridor Digital. Credit for the model, architecture, and training belongs to them. Peter Teravskis maintains this community MLX implementation and its Apple Silicon evaluation work. For the official supported plugins, visit corridorkey.com.

Squirrel on green screen and redhead on blue screen: a centre stripe separates each input from its background-removed result

Actual FP32 results from the companion CLI, shown with a central split between the original screen and a checkerboard transparency preview. Fine fur, a blurred paw, flyaway hair, and translucent gauze remain visible. The plates are synthetic demonstration inputs, without ground-truth mattes.

ExampleOriginal inputTransparent 16-bit PNG
Squirrel · green screenInputRGBA cutout
Redhead · blue screenInputRGBA cutout

Use with the companion runtime

Install the Apache 2.0 source and CLI:

git clone https://github.com/peterteravskis/corridorkey-v2-mlx.git
cd corridorkey-v2-mlx
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install '.[download]'

hf download cdelta/CorridorKey-v2-MLX-fp32 --local-dir /path/to/CorridorKey-v2-MLX

corridorkey-mlx --precision fp32 --compile --image-sequence \
  --model-root /path/to/CorridorKey-v2-MLX \
  --input /path/to/plate.png --output-dir outputs/plate \
  --outputs alpha fg raw_fg checker cutout

Use an Apple Silicon Mac with Python 3.12. MLX 0.32.4 and PyTorch 2.9.1 are pinned by the source package. PyTorch is used for CPU preparation; the neural networks and output renderer execute on MLX. FFmpeg is required for video export. The profiles are custom MLX inference graphs, not an MLX-LM or Transformers checkpoint; use the companion runtime rather than AutoModel.

Profile contents

ProfileComponents
1024x1536-t1, 768x1280-t1RVM, C-RADIO + MoGe foundations, stage 1, stage 2
1024x1536-t4, 768x1280-t4Four-frame stage 1

Each component contains graph.json and weights.safetensors. The single-frame profile also supplies normalization statistics. Profile names use height × width. Inputs are padded to a multiple of 128, then cropped back to their native dimensions; the padded shape must match a profile.

For temporal clips of four or more frames, use Hann window/stride 4/2 and stage-two batch one. Two- or three-frame clips require their own stage-one profiles or explicit 1/1 processing without temporal windows. Larger resolutions and other stage-one window lengths are not included in this bundle. The CLI guide documents input, output, hint, and scratch-storage behavior.

Use this repository with --precision fp32. Keep its folder layout intact; pass the downloaded repository root to --model-root.

For native 1280 × 720 footage, add --height 768 --width 1280. Download another precision from the Collection, or use the combined bundle for all three.

Precision tradeoffs

FP16 retains sensitive reductions and normalization in FP32. Q8 uses native MLX group-64 affine quantization on 445 linear matrices, covering 74.47% of floating-point parameters, with FP16 residual weights and activations. Convolutions and activations are not 8-bit. Output rendering stays FP32.

FP16 and Q8 reduce memory use but change numerical results. The CLI measurements below report current time and memory. The retained precision study compares against FP32 and records larger localized Q8 transparency differences, including a maximum 6.885-percentage-point alpha difference on the blue-glass fixture. Numerical agreement and visible quality are separate questions.

Verified parent weights

Direct byte comparisons cover the FP32 conversion inputs and both distributed FP32 single-frame profiles. FP16 rounding and Q8 quantization intentionally change tensor values; their file hashes and source conversion hashes are retained separately in the profiles and model manifest.

The official public checkpoint was checked at revision cf44a8db3f024bb49fd59daa408848ccf05f7477 before adding the base_model link.

CheckResult
Learned tensors738 / 738 equal in direct byte comparisons and SHA-256
Foundation normalization tensors6 / 6 equal in direct byte comparisons and SHA-256
Tensor names, shapes, and dtypesExact match
Distributed FP32 stage-one/stage-two tensors1,476 / 1,476 direct byte comparisons passed across both resolutions
Model configurationMatch after JSON sequence normalization
Missing, extra, or changed learned tensorsNone

The conversion inputs match the official release's tensor payloads byte for byte. Exported MLX files have different container hashes because graph export names and partitions tensors by component. The model manifest checks the exact bytes of the distributed MLX files separately.

Official safetensors SHA-256: c43596de98cc8866d577c8a9f9ea239acdf3f7a130ff24e25db4375a50590436.

Measurements

The comparison below covers all three companion precision releases. This repository contains FP32 profiles only.

Fresh measurements of this packaged CLI on an Apple M4 Pro with 48 GiB, using the distributed FP32, FP16, and Q8 profiles. Each condition runs one complete warm-up followed by three measured workflows. Timings include input decoding, neural inference, rendering, four completed 16-bit PNG outputs per frame, and scratch cleanup. Initial model loading and compilation are reported separately.

CLI workflow time and physical memory

The table below measures 32 moving frames at native 1280 × 720, padded to 1280 × 768. Reference mode disables the custom graph rewrites and kernels; enabled mode uses the release defaults. Both use identical weights, precision, Hann windows/stride 4/2, and stage-two batch one.

PrecisionReferenceEnabledLess timeEnabled physical memory
FP3250.465 s37.657 s25.4%7.05 GiB
FP1642.975 s37.123 s13.6%4.11 GiB
Q846.088 s39.397 s14.5%3.28 GiB

CLI kernel optimization comparison with all timing samples

The speed optimizations ship enabled. FP32 uses specialized reconstruction, reflection padding/layout, dense projection pairing, and paired 7×7 channel convolution. FP16/Q8 use the accepted half-precision paired-convolution path. Half-precision projection pairing remains disabled.

CLI time by processing stage

All four stills and all 32 moving frames were compared with optimizations enabled and disabled at each precision. Every comparison passed the recorded numerical limits. FP16 and Q8 outputs match their own reference paths exactly. FP32 differs by at most 1/65535 in alpha and 2/65535 in the checker output. These checks do not establish FP16/Q8 equality with FP32 or accuracy against ground-truth mattes.

Saved output agreement for every fixture and precision

Initial model load and first CLI workflow versus warmed execution

Methodology and raw samples · Kernel implementation and isolated measurements · Release validation.

The retained MPS comparison and isolated operator studies use earlier measurement setups. Their ratios are not combined with these CLI results. These measurements describe the recorded Mac and fixtures, not a minimum-RAM requirement or a guarantee for other footage.

Intended use and limitations

Use for green-/blue-screen foreground separation, matte review, and compositing. Fine hair, gauze, transparent objects, blur, and subject identity can still need artist review or hints. The port does not improve the original model's learned semantic decisions. It is a shape-specialized inference release; training and arbitrary-shape execution are outside its scope.

The basic CLI accepts display-referred PNG/JPEG/video and produces SDR PNG/video exports. It does not expose the original model's HDR EXR workflow. Audio is not copied. Validation is specific to the recorded hardware and fixtures; other Macs and longer clips need their own evaluation. FP16/Q8 do not meet the strict FP32 agreement criteria and remain explicit opt-in choices.

Upstream reports that the original training data was generated in-house using 3D rendering. No additional training dataset was used for this conversion. No broad demographic or production-shot generalization evaluation is claimed. See the original model card for the publisher's training and intended-use information.

License and acknowledgements

CorridorKey-derived weights and graphs retain the unchanged Corridor Key Licence 2.0, including its additional terms. The Apache 2.0 source license applies to the separate runtime code and grants no additional rights to these model assets.

Organizations with over US $20 million in annual gross revenue require a CorridorKey plugin seat per user. See the original license for details.

The foundation components retain their own licenses:

ComponentPublisherLicense
C-RADIOv4-SO400MNVIDIANVIDIA Open Model License
MoGe-2 ViT-BMicrosoft / RuichengMIT
RVM smallGoogle DeepMindCC BY 4.0 weights

Licensed by NVIDIA Corporation under the NVIDIA Open Model License. The foundation profiles are converted representations, not unmodified copies of their original file containers. THIRD_PARTY_NOTICES.md identifies those changes and the bundled license texts. Nothing here implies endorsement by the original authors or their organizations.

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

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

GPU в ailist

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

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

MLX-модели работают только на Apple Silicon.

Ревизия весов
7bb9a44

0 моделей