Image Feature Extraction
sapiens
English

Run this model with HF Jobs

Run facebook/sapiens-pretrain-2b-torchscript on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/facebook/sapiens-pretrain-2b-torchscript. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/facebook/sapiens-pretrain-2b-torchscript on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Pretrain-Sapiens-2B-Torchscript

Model Details

Sapiens is a family of vision transformers pretrained on 300 million human images at 1024 x 1024 image resolution. The pretrained models, when finetuned for human-centric vision tasks, generalize to in-the-wild conditions. Sapiens-2B natively support 1K high-resolution inference. The resulting models exhibit remarkable generalization to in-the-wild data, even when labeled data is scarce or entirely synthetic.

  • Developed by: Meta
  • Model type: Vision Transformer
  • License: Creative Commons Attribution-NonCommercial 4.0
  • Task: pretrain
  • Format: torchscript
  • File: sapiens_2b_epoch_660_torchscript.pt2

Model Card

  • Image Size: 1024 x 1024
  • Num Parameters: 2.163 B
  • FLOPs: 8.709 TFLOPs
  • Patch Size: 16 x 16
  • Embedding Dimensions: 1920
  • Num Layers: 48
  • Num Heads: 32
  • Feedforward Channels: 7680

More Resources

Uses

Pretrained 2B model can be used for feature extraction, fine-tuning, or as a starting point for training new models.

Downloads last month
197
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including facebook/sapiens-pretrain-2b-torchscript

Paper for facebook/sapiens-pretrain-2b-torchscript