Instructions to use LibreYOLO/LibreSAM31large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LibreYOLO/LibreSAM31large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="LibreYOLO/LibreSAM31large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("LibreYOLO/LibreSAM31large") model = AutoModel.from_pretrained("LibreYOLO/LibreSAM31large", device_map="auto") - LibreYOLO
How to use LibreYOLO/LibreSAM31large 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
You need to agree to share your Hugging Face information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
These weights are redistributed under Meta's SAM License, a copy of which is included in this repository as LICENSE. By requesting access you agree to be bound by it. Note in particular that the license prohibits use for military or warfare purposes, nuclear applications, espionage, and the development or use of guns or illegal weapons, and that your use must comply with applicable Trade Controls. Access is not available in comprehensively sanctioned jurisdictions.
Log in or Sign Up to review the conditions and access this model content.