GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Transformers-Tutorials/SAM at master · gpokat/Transformers-Tutorials

Expand file tree

/

SAM

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

SAM

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Fine_tune_SAM_(segment_anything)_on_a_custom_dataset.ipynb
Fine_tune_SAM_(segment_anything)_on_a_custom_dataset.ipynb
 
 
README.md
README.md
 
 
Run_inference_with_MedSAM_using_HuggingFace_Transformers.ipynb
Run_inference_with_MedSAM_using_HuggingFace_Transformers.ipynb
 
 

README.md

Outline

SAM notebooks

This folder contains demo notebooks regarding Meta AI's SAM (segment anything model):

  • fine-tuning SAM on custom data
  • performing inference with MedSAM

Check also the official Hugging Face notebooks for general usage and automatic mask generation.

ONNX export

Note that SAM can also be exported to ONNX using the 🤗 Optimum library:

optimum-cli export onnx --model path_to_your_checkpoint sam_onnx/

ONNX is useful when putting the model in production, as one can apply several quantization techniques to speed up inference. Note that there are also 2 custom flags, --point_batch_size and --nb_points_per_image. See this PR which added support for it.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.