Instructions to use LibreYOLO/LibreMoGe3g-normal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreMoGe3g-normal with LibreYOLO:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
LibreMoGe3g-normal
MoGe-3 ViT-g/14 for surface-normal estimation, repackaged in LibreYOLO checkpoint format.
Source
Derived from Ruicheng/moge-3-vitg model.pt
at revision 6ef26c5a4b4148dab5ccaacdb08b72dc66380475, the exact commit LibreYOLO pins. The source model card
declares these weights MIT.
Copyright (c) Microsoft Corporation. Code: microsoft/MoGe
at 74fbce054ebed49800de42d0ad0e83495065719a, MIT License.
The DINOv2 encoder MoGe-3 builds on is separately licensed Apache-2.0 by
Meta AI; both notices are preserved in MoGe's composite LICENSE, copied
verbatim here.
Modifications
None to the learned parameters: every tensor of the official checkpoint is
kept unchanged, and LibreYOLO checkpoint v1.0 metadata (task normal) is
added. The same tensors serve the depth and normal tasks. See
weights/convert_moge3_weights.py in the
LibreYOLO source repository.
Usage
from libreyolo import LibreYOLO
model = LibreYOLO("LibreMoGe3g-normal.pt")
result = model.predict("image.jpg")
normals = result.normals # (H, W, 3) OpenCV-frame unit normals
License
MIT License. See the LICENSE and NOTICE files in
this repository.
- Downloads last month
- 62