Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

timm
/
sam2_hiera_tiny.fb_r896

Image Feature Extraction
timm
PyTorch
Safetensors
Transformers
Model card Files Files and versions
xet
Community

Instructions to use timm/sam2_hiera_tiny.fb_r896 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • timm

    How to use timm/sam2_hiera_tiny.fb_r896 with timm:

    import timm
    
    model = timm.create_model("hf_hub:timm/sam2_hiera_tiny.fb_r896", pretrained=True)
  • Transformers

    How to use timm/sam2_hiera_tiny.fb_r896 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-feature-extraction", model="timm/sam2_hiera_tiny.fb_r896")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("timm/sam2_hiera_tiny.fb_r896", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sam2_hiera_tiny.fb_r896
215 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
pcuenq's picture
pcuenq HF Staff
transformers tag
92aa8e8 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    247 Bytes
    transformers tag over 1 year ago
  • config.json
    636 Bytes
    Add model over 1 year ago
  • model.safetensors
    107 MB
    xet
    Add model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    107 MB
    xet
    Add model over 1 year ago