logo
0
0
WeChat Login
Clément Chadebec<clementchadebec@users.noreply.huggingface.co>
Update README.md

✨ Latent Bridge Matching for Depth Estimation ✨

Latent Bridge Matching (LBM) is a new, versatile and scalable method proposed in LBM: Latent Bridge Matching for Fast Image-to-Image Translation that relies on Bridge Matching in a latent space to achieve fast image-to-image translation. This model was trained to estimate the depth map from a given input image. See also our live demo for image relighting and official Github repo.

How to use?

To use this model you need first to install the associated lbm library by running the following

pip install git+https://github.com/gojasper/LBM.git

Then, you can infer with the model on your input images

import torch from PIL import Image from lbm.inference import evaluate, get_model # Load model model = get_model( "jasperai/LBM_depth", torch_dtype=torch.bfloat16, device="cuda", ) # Load a source image source_image = Image.open("your_image") # Perform inference output_image = evaluate(model, source_image, num_sampling_steps=1)

Metrics

This model achieves the following metrics

MetricsAbsRel ↓δ1 ↑δ2 ↑
NYUv25.697.299.2
Kitti9.493.098.9
ETH3D6.396.599.3
ScanNet5.797.099.2
DIODE30.377.589.3

License

This code is released under the Creative Commons BY-NC 4.0 license.

Citation

If you find this work useful or use it in your research, please consider citing us

@article{chadebec2025lbm, title={LBM: Latent Bridge Matching for Fast Image-to-Image Translation}, author={Clément Chadebec and Onur Tasar and Sanjeev Sreetharan and Benjamin Aubin}, year={2025}, journal = {arXiv preprint arXiv:2503.07535}, }

About

No description, topics, or website provided.