igzi / metric3d-vit-giant2-lora-booster

huggingface.co
Total runs: 4
24-hour runs: 0
7-day runs: -1
30-day runs: -2
Model's Last Updated: March 06 2026
depth-estimation

Introduction of metric3d-vit-giant2-lora-booster

Model Details of metric3d-vit-giant2-lora-booster

Metric3D ViT-giant2 — LoRA adapter (Booster dataset)

Base model: metric3d_vit_giant2 loaded via torch.hub.load("yvanyin/metric3d", "metric3d_vit_giant2")

LoRA fine-tuning of Metric3D v2 ( metric3d_vit_giant2 ) on the Booster stereo depth dataset .

Training details
Base model metric3d_vit_giant2 (torch.hub yvanyin/metric3d )
Dataset Booster stereo (prepared split, metric depth in metres)
Loss Direct metric-depth L1 + gradient loss
LoRA rank / alpha 16 / 32
LoRA targets qkv , proj
Best val AbsRel 0.1094
Epochs trained 7
Usage
import torch
from peft import PeftModel
import torch.nn as nn
import torch.utils.checkpoint as torch_checkpoint

# Load base model
model = torch.hub.load("yvanyin/metric3d", "metric3d_vit_giant2",
                       pretrain=True, trust_repo=True)

# Apply the same gradient-checkpointing wrapper used during training
# (needed so PEFT key names match the saved adapter)
def enable_gradient_checkpointing(model):
    try:
        encoder = model.depth_model.encoder
    except AttributeError:
        encoder = model.base_model.model.depth_model.encoder

    class _CheckpointedBlock(nn.Module):
        def __init__(self, block):
            super().__init__()
            self.block = block
        def forward(self, x):
            return torch_checkpoint.checkpoint(self.block, x, use_reentrant=False)

    for blk_group in encoder.blocks:
        for key in list(blk_group._modules.keys()):
            blk_group._modules[key] = _CheckpointedBlock(blk_group._modules[key])

enable_gradient_checkpointing(model)
model = PeftModel.from_pretrained(model, "igzi/metric3d-vit-giant2-lora-booster")
model.eval()

# Inference: input pixel_values shape (B, 3, 616, 1064), values normalised
# with mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375]
pred_canonical, _, _ = model({"input": pixel_values})
# De-canonicalise: pred_metric = pred_canonical * (fx_scaled / 1000)

Runs of igzi metric3d-vit-giant2-lora-booster on huggingface.co

4
Total runs
0
24-hour runs
1
3-day runs
-1
7-day runs
-2
30-day runs

More Information About metric3d-vit-giant2-lora-booster huggingface.co Model

More metric3d-vit-giant2-lora-booster license Visit here:

https://choosealicense.com/licenses/apache-2.0

metric3d-vit-giant2-lora-booster huggingface.co

metric3d-vit-giant2-lora-booster huggingface.co is an AI model on huggingface.co that provides metric3d-vit-giant2-lora-booster's model effect (), which can be used instantly with this igzi metric3d-vit-giant2-lora-booster model. huggingface.co supports a free trial of the metric3d-vit-giant2-lora-booster model, and also provides paid use of the metric3d-vit-giant2-lora-booster. Support call metric3d-vit-giant2-lora-booster model through api, including Node.js, Python, http.

metric3d-vit-giant2-lora-booster huggingface.co Url

https://huggingface.co/igzi/metric3d-vit-giant2-lora-booster

igzi metric3d-vit-giant2-lora-booster online free

metric3d-vit-giant2-lora-booster huggingface.co is an online trial and call api platform, which integrates metric3d-vit-giant2-lora-booster's modeling effects, including api services, and provides a free online trial of metric3d-vit-giant2-lora-booster, you can try metric3d-vit-giant2-lora-booster online for free by clicking the link below.

igzi metric3d-vit-giant2-lora-booster online free url in huggingface.co:

https://huggingface.co/igzi/metric3d-vit-giant2-lora-booster

metric3d-vit-giant2-lora-booster install

metric3d-vit-giant2-lora-booster is an open source model from GitHub that offers a free installation service, and any user can find metric3d-vit-giant2-lora-booster on GitHub to install. At the same time, huggingface.co provides the effect of metric3d-vit-giant2-lora-booster install, users can directly use metric3d-vit-giant2-lora-booster installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

metric3d-vit-giant2-lora-booster install url in huggingface.co:

https://huggingface.co/igzi/metric3d-vit-giant2-lora-booster

Url of metric3d-vit-giant2-lora-booster

metric3d-vit-giant2-lora-booster huggingface.co Url

Provider of metric3d-vit-giant2-lora-booster huggingface.co

igzi
ORGANIZATIONS

Other API from igzi

huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:March 29 2026
huggingface.co

Total runs: 8
Run Growth: -8
Growth Rate: -114.29%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: 1
Growth Rate: 14.29%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: -2
Growth Rate: -28.57%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: -4
Growth Rate: -57.14%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: -1
Growth Rate: -14.29%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 14.29%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: -2
Growth Rate: -33.33%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: -1
Growth Rate: -16.67%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 20.00%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: -1
Growth Rate: -16.67%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: -2
Growth Rate: -33.33%
Updated:March 29 2026
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:March 29 2026
huggingface.co

Total runs: 5
Run Growth: -1
Growth Rate: -20.00%
Updated:March 29 2026
huggingface.co

Total runs: 5
Run Growth: -2
Growth Rate: -40.00%
Updated:March 29 2026
huggingface.co

Total runs: 5
Run Growth: -2
Growth Rate: -50.00%
Updated:March 29 2026
huggingface.co

Total runs: 5
Run Growth: -2
Growth Rate: -40.00%
Updated:March 29 2026
huggingface.co

Total runs: 4
Run Growth: -1
Growth Rate: -25.00%
Updated:March 29 2026
huggingface.co

Total runs: 4
Run Growth: -1
Growth Rate: -25.00%
Updated:March 29 2026
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:March 29 2026
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:March 29 2026
huggingface.co

Total runs: 4
Run Growth: -1
Growth Rate: -25.00%
Updated:March 29 2026
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:March 29 2026