Instructions to use LibreYOLO/LibreMoGe2s-normal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreMoGe2s-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
LibreMoGe2s-normal
MoGe-2 ViT-S/14 surface-normal estimator, repackaged in LibreYOLO checkpoint format.
Source
Derived from Ruicheng/moge-2-vits-normal
at revision 679230677b4d282c6f304189a93e98e14f085902, the exact commit LibreYOLO pins.
Copyright (c) Microsoft Corporation. Licensed under the MIT License.
The DINOv2 encoder MoGe-2 builds on is separately licensed Apache-2.0 by Meta AI.
Modifications
State-dict key remapping only. Learned parameters are unchanged.
See weights/convert_moge2_weights.py in the
LibreYOLO source repository.
Usage
from libreyolo import LibreYOLO
model = LibreYOLO("LibreMoGe2s-normal.pt")
result = model.predict("image.jpg")[0]
normals = result.normals
License
MIT License. See the LICENSE and NOTICE files in
this repository.
- Downloads last month
- -