Xuban's picture
Initial upload: LibreDepthAnythingV2b-depth (CC-BY-NC-4.0, Base ViT-B)
f73fff2 verified
|
Raw
History Blame Contribute Delete
1.71 kB
metadata
license: cc-by-nc-4.0
library_name: libreyolo
tags:
  - depth-estimation
  - depth-anything

LibreDepthAnythingV2b-depth

Depth Anything V2 ViT-B encoder (97M params) + DPT head, repackaged for LibreYOLO's 'depth' task.

Non-commercial use only. These weights are CC BY-NC 4.0. The Small encoder (LibreDepthAnythingV2s-depth) is Apache-2.0 and has no commercial restriction.

Source

Derived from DepthAnything/Depth-Anything-V2 at commit 03876f8651c73a60fe4c2c48294e09fcb6838fcf. Copyright (c) 2024 Depth Anything V2 authors (TikTok / ByteDance). Licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

The ViT-B encoder is a DINOv2 backbone from facebookresearch/dinov2. Copyright (c) Meta Platforms, Inc. and affiliates. Licensed under the Apache License, Version 2.0.

Modifications

State-dict key remapping only. Learned parameters are unchanged. See weights/convert_depth_anything_v2_weights.py in the LibreYOLO source repository.

Usage

from libreyolo import LibreYOLO

model = LibreYOLO("LibreYOLO/LibreDepthAnythingV2b-depth")
results = model.predict("image.jpg")
depth_map = results[0].depth_map  # DepthMap(shape=(H, W), higher = closer)

License

Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). See the LICENSE and NOTICE files in this repository. Commercial use is not permitted.