Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Mayank022
/
sam-vit-base-kvasir-polyp-segmentation

Mask Generation
Transformers
Safetensors
sam
segment-anything
medical-image-segmentation
polyp-segmentation
gastrointestinal
fine-tuned
Model card Files Files and versions
xet
Community

Instructions to use Mayank022/sam-vit-base-kvasir-polyp-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Mayank022/sam-vit-base-kvasir-polyp-segmentation with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("mask-generation", model="Mayank022/sam-vit-base-kvasir-polyp-segmentation")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMaskGeneration
    
    processor = AutoProcessor.from_pretrained("Mayank022/sam-vit-base-kvasir-polyp-segmentation")
    model = AutoModelForMaskGeneration.from_pretrained("Mayank022/sam-vit-base-kvasir-polyp-segmentation")
  • Notebooks
  • Google Colab
  • Kaggle
sam-vit-base-kvasir-polyp-segmentation
375 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Mayank022's picture
Mayank022
Upload README.md with huggingface_hub
7f8657a verified about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    1.85 kB
    Upload README.md with huggingface_hub about 2 months ago
  • config.json
    3.17 kB
    SAM fine-tuned on Kvasir-SEG (dice: 0.8355) about 2 months ago
  • finetune_sam_medical_tutorial.ipynb
    33.1 kB
    Add comprehensive fine-tuning tutorial notebook about 2 months ago
  • model.safetensors
    375 MB
    xet
    SAM fine-tuned on Kvasir-SEG (dice: 0.8355) about 2 months ago
  • processor_config.json
    665 Bytes
    Add processor about 2 months ago