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

  • Log In
  • Sign Up

martintomov
/
InsectSAM

Mask Generation
Transformers
PyTorch
Safetensors
sam
Model card Files Files and versions
xet
Community
1

Instructions to use martintomov/InsectSAM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use martintomov/InsectSAM with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("mask-generation", model="martintomov/InsectSAM")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMaskGeneration
    
    processor = AutoProcessor.from_pretrained("martintomov/InsectSAM")
    model = AutoModelForMaskGeneration.from_pretrained("martintomov/InsectSAM")
  • Notebooks
  • Google Colab
  • Kaggle
InsectSAM
1.13 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 14 commits
martintomov's picture
martintomov
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
80fe95d verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • InsectSAM.pth

    Detected Pickle imports (3)

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

    What is a pickle import?

    375 MB
    xet
    Upload InsectSAM.pth about 2 years ago
  • README.md
    2.04 kB
    path update over 1 year ago
  • config.json
    6.52 kB
    Upload config.json about 2 years ago
  • model.safetensors
    375 MB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • preprocessor_config.json
    466 Bytes
    Upload preprocessor_config.json about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    375 MB
    xet
    Upload pytorch_model.bin about 2 years ago
  • requirements.txt
    76 Bytes
    jupyterlab almost 2 years ago