Image Feature Extraction
sapiens2
Safetensors
sapiens
Transformers
feature-extraction
vision-transformer
human-centric
pretrained-backbone
Instructions to use facebook/sapiens2-pretrain-5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
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
- sapiens
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
- Transformers
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-pretrain-5b") model = AutoModel.from_pretrained("facebook/sapiens2-pretrain-5b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (6cda9e3d58666eb2403c51c2b553d7fbd734255d) - Remove 'pos_embed_dtype' from config.json (8024f064d799989c6dd6f93c9e26b746d39bde7a) - Update config.json and preprocessor_config.json (9ceea500d81eb1ce59f3b962472bf6de17fe42d8) - Update config.json and preprocessor_config.json (c7c438f9c29544008b324524baab86b9aec0f14a) - Update config.json and preprocessor_config.json (142fb1dc74919e9650ba056bc42c404bbb596743) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>411dbdb