Downloads · 30 days
0
Yang-Tian/Mira-Scene
Mira-Scene is a image-to-3d model from Yang-Tian. Use it for the image-to-3d task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as mit.
Mira-Scene reconstructs an editable 3D scene from a single image. The full pipeline combines instance segmentation, monocular depth estimation, canonical coordinate map (CCM) and occupancy prediction, per-object mesh…
Downloads · 30 days
0
Access
Public
Updated Sep 28, 2026
Repo size
11.1 GB
Likes
14
Trending 1
Click a slice to open those files.
.safetensors12.8 GB · 100%
From the Hugging Face model README
Mira-Scene reconstructs an editable 3D scene from a single image. The full pipeline combines instance segmentation, monocular depth estimation, canonical coordinate map (CCM) and occupancy prediction, per-object mesh generation, support-aware scene assembly, and environment-map generation.
The project code and complete inference instructions are available in the Mira-Scene GitHub repository.
This repository contains two CCM checkpoints:
pipeline/: the released checkpoint intended for Mira-Scene inference;pretrain_pipeline/: the stage-1 pretraining checkpoint intended to
initialize the second-stage training configuration.Both are Diffusers-compatible CCMVoxelPipeline directories. They predict a
pixel-aligned canonical coordinate map and a sparse voxel representation for
each segmented object. Neither checkpoint is a standalone image-to-GLB model:
a scene image and per-instance masks are prepared by the segmentation stage,
and supported mesh and scene-construction stages consume the CCM outputs.
The pipelines contain the image encoder, flow-matching scheduler, CCM/voxel diffusion transformer, sparse-structure VAE, and image preprocessor configuration.
Install and authenticate the Hugging Face client if necessary:
python -m pip install -U huggingface_hub
hf auth login
Download the released pipeline:
hf download Yang-Tian/Mira-Scene \
--include "pipeline/*" \
--local-dir checkpoints/mira-scene
Set checkpoints.ccm in infer_scripts/config/local.yaml to:
checkpoints:
ccm: /absolute/path/to/checkpoints/mira-scene/pipeline
The pretrain checkpoint can be used as the initialization for the second-stage
finetuning described in example_train/README.md:
hf download Yang-Tian/Mira-Scene \
--include "pretrain_pipeline/*" \
--local-dir checkpoints/mira-scene
Point system.params.pretrained_model_name_or_path in
example_train/configs/finetune.yaml to:
system:
params:
pretrained_model_name_or_path: /absolute/path/to/checkpoints/mira-scene/pretrain_pipeline
The full inference pipeline also uses third-party segmentation, depth, and mesh checkpoints. See the environment and checkpoint guide for model IDs, download commands, and configuration keys.
Original Mira-Scene code, configurations, and model artifacts are released under the MIT License. Third-party components, base models, pretrained encoders, and backend checkpoints retain their respective licenses and terms of use.
After installing the stage-specific environments and configuring the selected backends, run:
python infer_scripts/pipeline.py \
--input /path/to/image_or_directory \
--output /path/to/results \
--config infer_scripts/config/local.yaml
To run only the CCM stage on prepared cases:
python infer_scripts/2_inference_CCM.py \
--demo_dir /path/to/prepared_cases \
--output_dir /path/to/results \
--ckpt_dir /absolute/path/to/checkpoints/mira-scene/pipeline \
--use_cropped_condition
Refer to the project inference guide for the required input layout and the complete stage-by-stage workflow.