Skip to content

orianexxx/ViT_SAM-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SAM-model

This repository contains the implementation of the Segment Anything Model (SAM), a powerful image segmentation model developed by Meta AI Research.

Important: Model Weights

Before using this repository, you need to download the model weights:

wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth

The model weights file is approximately 2.4GB. Make sure you have sufficient disk space and a stable internet connection.

About SAM

The Segment Anything Model (SAM) is a promptable segmentation system that can generate high-quality object masks from input prompts such as points or boxes. It has been trained on a dataset of 11 million images and 1.1 billion masks.

Requirements

  • Python 3.8+
  • PyTorch 1.7+
  • CUDA-compatible GPU (recommended)

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/SAM-model.git
cd SAM-model
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

[Usage instructions will be added as the project develops]

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Acknowledgments

  • Meta AI Research for developing the SAM model
  • The original SAM paper: "Segment Anything" by Kirillov et al.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors