igzi / depth-lora-booster-metric3d

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

Introduction of depth-lora-booster-metric3d

Model Details of depth-lora-booster-metric3d

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 depth-lora-booster-metric3d on huggingface.co

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

More Information About depth-lora-booster-metric3d huggingface.co Model

More depth-lora-booster-metric3d license Visit here:

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

depth-lora-booster-metric3d huggingface.co

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

depth-lora-booster-metric3d huggingface.co Url

https://huggingface.co/igzi/depth-lora-booster-metric3d

igzi depth-lora-booster-metric3d online free

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

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

https://huggingface.co/igzi/depth-lora-booster-metric3d

depth-lora-booster-metric3d install

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

depth-lora-booster-metric3d install url in huggingface.co:

https://huggingface.co/igzi/depth-lora-booster-metric3d

Url of depth-lora-booster-metric3d

depth-lora-booster-metric3d huggingface.co Url

Provider of depth-lora-booster-metric3d huggingface.co

igzi
ORGANIZATIONS

Other API from igzi

huggingface.co

Total runs: 11
Run Growth: 5
Growth Rate: 45.45%
Updated:March 29 2026
huggingface.co

Total runs: 11
Run Growth: 4
Growth Rate: 36.36%
Updated:March 29 2026
huggingface.co

Total runs: 11
Run Growth: 6
Growth Rate: 54.55%
Updated:March 29 2026
huggingface.co

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

Total runs: 10
Run Growth: 6
Growth Rate: 60.00%
Updated:March 29 2026
huggingface.co

Total runs: 10
Run Growth: 6
Growth Rate: 60.00%
Updated:March 29 2026
huggingface.co

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

Total runs: 10
Run Growth: 6
Growth Rate: 60.00%
Updated:March 29 2026
huggingface.co

Total runs: 9
Run Growth: 4
Growth Rate: 44.44%
Updated:March 29 2026
huggingface.co

Total runs: 9
Run Growth: 5
Growth Rate: 55.56%
Updated:March 29 2026
huggingface.co

Total runs: 9
Run Growth: 3
Growth Rate: 33.33%
Updated:March 29 2026
huggingface.co

Total runs: 9
Run Growth: 6
Growth Rate: 66.67%
Updated:March 29 2026
huggingface.co

Total runs: 9
Run Growth: 5
Growth Rate: 55.56%
Updated:March 29 2026
huggingface.co

Total runs: 8
Run Growth: 7
Growth Rate: 63.64%
Updated:March 29 2026
huggingface.co

Total runs: 8
Run Growth: 3
Growth Rate: 37.50%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: 3
Growth Rate: 42.86%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: 3
Growth Rate: 42.86%
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: 3
Growth Rate: 42.86%
Updated:March 29 2026
huggingface.co

Total runs: 7
Run Growth: 3
Growth Rate: 42.86%
Updated:March 29 2026
huggingface.co

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

Total runs: 7
Run Growth: 3
Growth Rate: 42.86%
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: 3
Growth Rate: 50.00%
Updated:March 29 2026
huggingface.co

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

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

Total runs: 4
Run Growth: 1
Growth Rate: 20.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:August 26 2025