Views
No views yet
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.
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).weights/convert_depth_anything_v2_weights.py in the
LibreYOLO source repository.1from libreyolo import LibreYOLO
2
3model = LibreYOLO("LibreYOLO/LibreDepthAnythingV2b-depth")
4results = model.predict("image.jpg")
5depth_map = results[0].depth_map # DepthMap(shape=(H, W), higher = closer)