Sapiens2
Collection
28 items โข Updated โข 42
How to use facebook/sapiens2-pretrain-5b with sapiens2:
# 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
How to use facebook/sapiens2-pretrain-5b with sapiens:
# 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
How to use facebook/sapiens2-pretrain-5b with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="facebook/sapiens2-pretrain-5b") # Load model directly
from transformers import AutoImageProcessor, AutoModel
processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-pretrain-5b")
model = AutoModel.from_pretrained("facebook/sapiens2-pretrain-5b")