Image Feature Extraction
sapiens2
Safetensors
sapiens
Transformers
feature-extraction
vision-transformer
human-centric
pretrained-backbone
Instructions to use facebook/sapiens2-pretrain-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-pretrain-1b 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-1b 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-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="facebook/sapiens2-pretrain-1b")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-pretrain-1b") model = AutoModel.from_pretrained("facebook/sapiens2-pretrain-1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
fb12750
1
Parent(s): a22983d
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#3)
Browse files- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (5a8623c1f29dff665003f60b88dd77e7911f1438)
Co-authored-by: guarin <guarin@users.noreply.huggingface.co>
- config.json +0 -2
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"apply_layernorm": true,
|
| 3 |
"architectures": [
|
| 4 |
"Sapiens2Model"
|
| 5 |
],
|
|
@@ -16,7 +15,6 @@
|
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 6144,
|
| 18 |
"key_bias": true,
|
| 19 |
-
"layer_norm_eps": 1e-05,
|
| 20 |
"layerscale_value": 1.0,
|
| 21 |
"mlp_bias": true,
|
| 22 |
"model_type": "sapiens2",
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"Sapiens2Model"
|
| 4 |
],
|
|
|
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
"intermediate_size": 6144,
|
| 17 |
"key_bias": true,
|
|
|
|
| 18 |
"layerscale_value": 1.0,
|
| 19 |
"mlp_bias": true,
|
| 20 |
"model_type": "sapiens2",
|