/ Модель

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

Лицензия
MIT
Архитектура
flyvis-construction · dense
Библиотека
pytorch
Опубликована
21 сен 2026

Tsokotukha-PTO

Сегментация изображенийИзображение → mask

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

61скачиваний за 30 дней1лайквеса обновлены22 сен 2026

Бенчмарки

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

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

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

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

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

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

Tsokotukha-PTO — небольшая исследовательская модель для сегментации стен на строительных чертежах. Она использует визуальную схему, вдохновлённую зрительной системой мухи: обрабатывает 25 перекрывающихся фрагментов изображения размером 64 × 64 из входного участка 192 × 192, а затем объединяет результаты в карту вероятности стен. Чекпойнт содержит 1 876 обучаемых параметров; схема включает 721 колонку «глаза» и пространственный слой считывания.

Модель предназначена для выделения стен на синтетических планах ResPlan. В README для выборки разработки и выбора модели из 64 синтетических планов сообщаются Average Precision 0,954543, ROC-AUC 0,996236 и лучший IoU 0,843486. Эти показатели не получены на закрытом финальном тесте. Репозиторий также описывает отдельный эксперимент по распознаванию штриховок, но он не относится к этому чекпойнту.

Это исследовательский чекпойнт на PyTorch в формате safetensors. Лицензия — MIT. Модель обучалась и оценивалась на синтетических данных сегментации стен; она не является полноценной системой чтения чертежей или BIM-системой. Реальные чертежи с текстом, таблицами, символами, разными масштабами и стилями не охвачены оценкой.

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

  • Сегментация стен на синтетических планах зданий
  • Построение карты вероятности расположения стен на чертеже
  • Эксперименты с биологически вдохновлёнными моделями компьютерного зрения

Ограничения

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

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

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

Открыть на Hugging Face

Tsokotukha - PTO

Tsokotukha is a small research model that reads construction drawings through a fly visual circuit. It does not look at a crop once. It moves across 25 overlapping views, passes each view through the 721-column fly eye and joins the responses into one wall probability map.

This repository contains the best saved pure-flyvis checkpoint from our experiments, q16_z3_flyvis_pre_s1.

How the model sees a drawing

The input is a 192 x 192 crop. Each of the 25 local views is 64 x 64. The same visual circuit processes every view, then a spatial readout returns the local evidence to its place on the drawing.

Human plan and fly-eye view

The animation shows one pass through the visual demo. The plan stays visible on the left while the fly-eye representation changes beside it.

Best saved result

MetricValue
Average precision0.954543
ROC-AUC0.996236
Best IoU0.843486
Views per crop25

The evaluation used 64 synthetic ResPlan source plans with four fixed crops per source. This was a development and model-selection split, not a sealed final test. The result should be quoted with that limitation.

The checkpoint has 1,876 trainable parameters. The flyvis circuit contains 45,669 nodes, 1,513,231 edges and 721 retinal columns. The readout uses 57 non-input cell types.

Why this checkpoint

There are higher numbers elsewhere in the project, but they come from different setups. One uses partial labels. Another adds a CNN decoder. This is the strongest saved result that keeps the flyvis circuit and its spatial readout as the model.

The hatch-recognition experiment below is a separate branch. It uses frozen upstream flyvis model 001 and reaches 0.910 with an extended legend. It has no separately trained checkpoint. Its configuration is included as article_hatch_config.json so the two results stay separate.

A second experiment: hatch recognition

The project also asked whether a frozen fly visual model can describe drawing hatches. The first diagram shows what was compared. The second shows how a moving 64 x 64 patch becomes a 1,368-value descriptor. These are manuscript figures from the hatch branch, not results from the q16 wall checkpoint.

Install

Use Python 3.12. A clean virtual environment is recommended.

pip install -r requirements.txt

The flyvis dependency is pinned to the same commit used in the experiment.

Run

For the complete 25-view setup:

python inference.py drawing_crop.png --output prediction.npz --preview probability.png

For one 64 x 64 view:

python inference.py patch.png --single --output single_view.npz

The output file contains logits, probabilities and a binary mask. The included threshold came from the development split. Recalibrate it before using the model on another dataset.

To check the package:

python verify_package.py

What is in the download

  • model.safetensors contains the checkpoint tensors.
  • config.json records the eye, temporal sequence, readout and 25-view plan.
  • metrics.json contains the saved run metrics.
  • inference.py runs either one view or the full 25-view plan.
  • provenance/ contains the original run result and configuration.
  • Tsokotukha-PTO-model-only.zip is the compact package.
  • Tsokotukha-PTO-full.zip also contains the generated connectome cache for offline use.

Limits

This is a research checkpoint trained and evaluated on synthetic wall-segmentation data. It is not a complete drawing reader and it is not a BIM system. Production drawings contain text, tables, symbols, changing scales and drawing styles that were not covered by this result.

No customer drawing, private dataset or real project file is included in this repository.

Project citation

@misc{kuklev2026tsokotukha,
  title  = {Tsokotukha - PTO},
  author = {Kuklev, Dmitry},
  year   = {2026},
  note   = {Research checkpoint for active visual sampling on architectural drawings}
}

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

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

GPU в ailist

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

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

Архитектура flyvis-construction неизвестна transformers в образе рантайма.

Класс архитектуры
FlyvisModel
Ревизия весов
c1cfdc7

0 моделей