lingbot-map-3d-reconstruction
БесплатноБез исполняемых скриптовНе проверенFeed-forward 3D foundation model for streaming scene reconstruction using Geometric Context Transformer
от reason-machines★ 99 звёзд на GitHubОб этом скилле
LingBot-Map 3D Reconstruction Skill
Skill by ara.so — Daily 2026 Skills collection.
LingBot-Map is a feed-forward 3D foundation model that reconstructs scenes from streaming image or video data using a Geometric Context Transformer. It achieves ~20 FPS on 518×378 resolution over sequences exceeding 10,000 frames via paged KV cache attention.
What It Does
- Streaming 3D reconstruction from image sequences or video
- Feed-forward inference (no iterative optimization needed)
- Outputs: point clouds with per-point confidence, camera poses, depth maps
- Key features: anchor context, pose-reference window, trajectory memory for drift correction
Installation
# 1. Create environment
conda create -n lingbot-map python=3.10 -y
conda activate lingbot-map
# 2. Install PyTorch (CUDA 12.8)
pip install torch==2.9.1 torchvision==0.24.1 --index-url https://download.pytorch.org/whl/cu128
# 3. Install lingbot-map
git clone https://github.com/Robbyant/lingbot-map.git
cd lingbot-map
pip install -e .
# 4. Install FlashInfer for fast paged KV cache attention (recommended)
pip install flashinfer-python -i https://flashinfer.ai/whl/cu128/torch2.9/
# 5. Optional: visualization support
pip install -e ".[vis]"
# 6. Optional: sky masking for outdoor scenes
pip install onnxruntime # CPU
pip install onnxruntime-gpu # GPU
Model Download
Models available on HuggingFace and ModelScope:
# Download via huggingface_hub
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(
repo_id="robbyant/lingbot-map",
filename="checkpoint.pt"
)
Or manually download from:
- HuggingFace:
https://huggingface.co/robbyant/lingbot-map - ModelScope:
https://www.modelscope.cn/models/Robbyant/lingbot-map
CLI Commands
Demo with Interactive 3D Viewer (browser at localhost:8080)
# From image folder
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder /path/to/images/
# From video file
python demo.py --model_path /path/to/checkpoint.pt \
--video_path video.mp4 --fps 10
# Outdoor scene with sky masking
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder /path/to/images/ --mask_sky
# Example scenes included in repo
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder example/church --mask_sky
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder example/oxford --mask_sky
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder example/university4 --mask_sky
Long Sequence Handling
# Keyframe interval: store every Nth frame in KV cache (saves memory)
# Use when sequence > 320 frames
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder /path/to/images/ --keyframe_interval 6
# Windowed mode: for very long sequences (>3000 frames)
python demo.py --model_path /path/to/checkpoint.pt \
--video_path video.mp4 --fps 10 \
--mode windowed --window_size 64
Without FlashInfer (SDPA fallback)
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder /path/to/images/ --use_sdpa
Sky Masking with Custom Paths
python demo.py --model_path /path/to/checkpoint.pt \
--image_folder /path/to/images/ --mask_sky \
--sky_mask_dir /path/to/cached_masks/ \
--sky_mask_visualization_dir /path/to/mask_viz/
CLI Arguments Reference
Input
| Argument | Description |
|---|---|
--model_path |
Path to model checkpoint (.pt file) |
--image_folder |
Directory of input images |
--video_path |
Input video file path |
--fps |
Frames per second to sample from video |
Inference Mode
| Argument | Default | Description |
|---|---|---|
--mode |
streaming |
streaming or windowed |
--window_size |
64 |
Window size for windowed mode |
--keyframe_interval |
1 |
Store every Nth frame in KV cache |
--use_sdpa |
False |
Use PyTorch SDPA instead of FlashInfer |
Sky Masking
| Argument | Description |
|---|---|
--mask_sky |
Enable sky segmentation and masking |
--sky_mask_dir |
Custom directory for cached sky masks |
--sky_mask_visualization_dir |
Save side-by-side mask visualizations |
Visualization
| Argument | Default | Description |
|---|---|---|
--port |
8080 |
Viser viewer port |
--conf_threshold |
1.5 |
Filter low-confidence points |
--point_size |
0.00001 |
Point cloud point size |
--downsample_factor |
10 |
Spatial downsampling for display |
Python API Usage
Basic Streaming Inference
import torch
from lingbot_map import LingBotMap # adjust import to actual module structure
# Load model
device = "cuda" if torch.cuda.is_available() else "cpu"
model = LingBotMap.from_pretrained("/path/to/checkpoint.pt")
model = model.to(device).eval()
# Streaming inference over image list
from pathlib import Path
from PIL import Image
import torchvision.tr
Установить lingbot-map-3d-reconstruction в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл lingbot-map-3d-reconstruction?
Feed-forward 3D foundation model for streaming scene reconstruction using Geometric Context Transformer
Как установить скилл lingbot-map-3d-reconstruction?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lingbot-map-3d-reconstruction запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic