Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

Robbyant/lingbot-map-v2

Machine Learning

A causal streaming 3D reconstruction model that predicts camera poses, intrinsics and depth from RGB video frames.

116
2
Python
NOASSERTION
new today

What it is

LingBot-Map 2.0 is a geometric streaming base model for online 3D reconstruction. It consumes an incoming RGB sequence and, frame by frame, predicts camera-to-world poses, intrinsics, depth and depth confidence. The model is trained for causal online streaming, so it does not need the whole sequence before producing results for the current frame. The repository ships the inference code, checkpoint loader, interactive viewer and evaluation benchmark described in the technical report.

It targets researchers and engineers working on SLAM-adjacent reconstruction, camera trajectory estimation and dense geometry from video, who want a pretrained checkpoint plus a Python streaming API rather than a full mapping stack.

Install and download the model

A BF16-capable CUDA GPU and PyTorch 2.8+ are required. The README's setup runs Python 3.11:

conda create -n lingbot-map2 python=3.11 -y
conda activate lingbot-map2
pip install torch==2.8.0 --index-url https://download.pytorch.org/whl/cu128
pip install -e .

flashinfer-python is a declared dependency; if your mirror does not carry it, install it from PyPI first (dependencies).

The checkpoint is currently hosted in private Hugging Face and ModelScope repositories, so an authorized account is needed:

pip install -U huggingface_hub
hf auth login
python download_model.py --source hf --output checkpoints/base-streaming

Use --source modelscope for the mirror. The downloader verifies the weight SHA-256; keep model_weights.pt and config.json together and pass both paths downstream.

Run a sequence

python infer.py \
    --checkpoint checkpoints/base-streaming/model_weights.pt \
    --config checkpoints/base-streaming/config.json \
    --images path/to/rgb \
    --output outputs/sequence

Images are read in natural filename order, or in an explicit order via --image-list frames.json. The CLI keeps Uniform320 keyframes by default while still predicting every input frame; --keyframe-interval 1 keeps every frame. Each prediction group is written as an .npz containing poses, intrinsics, depth and confidence, and the run records manifest.json and progress.json. Existing output directories are rejected.

To inspect results in a browser, install the visualization extras and start the Viser demo:

pip install -e ".[vis]"
python demo.py --checkpoint checkpoints/base-streaming/model_weights.pt \
    --config checkpoints/base-streaming/config.json --images path/to/rgb --mask-sky

Then open http://localhost:8080. A completed run can be viewed without a GPU with python demo.py --predictions outputs/sequence. Sky masking downloads an ONNX model on first use (skyseg). For a remote host, forward port 8080 over SSH.

Python streaming API

load_model() returns a GCRStream. The first eight frames initialize the stream; the eighth call returns predictions for the prefix, and later calls return the current frame. Mark keyframes with persistent=True; non-keyframes still produce predictions but do not change persistent KV state. Outputs include poses_c2w, intrinsics, pose_enc, depth, depth_conf and frame_indices (output reference). Depth and translation are in arbitrary scene scale. One active stream owns a model, and the synchronous API is not thread-safe.

Constraints

  • Input width and height must be multiples of 16; the example configuration uses 512×288 with an eight-frame prefix and a 64-frame sliding window.
  • The released configuration file is the one for the base-streaming checkpoint; causal.example.json is only a schema example.
  • Code and model weights are licensed CC BY-NC 4.0, i.e. non-commercial use (license); third-party components keep their own licenses.
  • The model repositories and example datasets are private at time of writing, so access depends on being granted an authorized account.
  • Benchmark runs target KITTI, VBR, Oxford Spires, CroCoDL, Tanks and Temples, Princeton365 and EuRoC; preparing them follows the benchmark guide.

HotRepo's take

The repository appeared on HotRepo's new-project board for Python on 2026-11-27, gaining 101 stars and 2 forks in the observed window starting 2026-11-26, with no all-language daily rank recorded. The README is substantial: install path, checkpoint download flow, a streaming API with defined input/output shapes, an interactive viewer and a benchmark harness with multiple datasets. What tempers that picture is access: the weights and example datasets are private, so what a reader can verify from the repository alone is the code and documentation, not end-to-end results. The 101 stars in roughly 17 hours is notable for a model release but does not by itself demonstrate adoption or reconstruction quality.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. ubc-vision/solv3rA pretrained multi-view 3D reconstruction model that solves camera poses and point maps from image or video sequences.Python158
  2. Robbyant/lingbot-touchPretrained tactile representation model for robotic dexterous hands, with inference code and open weights.Python117
  3. inclusionAI/IDMResearch code and inference toolkit for one- or two-step text-to-image generation via intrinsic distribution matching.Python161
  4. kornia/korniaProvides differentiable image processing and geometric vision operators on PyTorch tensors, so gradients flow through geometry and augmentation while running batched on GPU.Python11,565
  5. yyfz/Pi4Reconstructs 4D scene geometry and camera motion from images or video in a single forward pass, for graphics and vision researchers.Python118