Installation

Option 1: Install with Pip

  1. Create a new environment (recommended, optional)

    Use conda create a new environment

    conda create -n isat_env python=3.10
    

    activate new environment

    conda activate isat_env
    
  2. Install ISAT-SAM using pip

    pip install isat-sam
    

    Attention

    To use GPU on Windows OS, install torch and torchvision from Pytorch

  3. Run

    Start the application via the command line:

    isat-sam
    

Hint

Recommended install isat-sam using pip

Option 2: Install from Source Code

  1. Get source code from github

    Use git clone project and then into project

    git clone https://github.com/yatengLG/ISAT_with_segment_anything.git
    cd ISAT_with_segment_anything
    

    Or download zip from Github , unzip and into project

    cd ISAT_with_segment_anything-master
    
  2. Create a new environment (recommended, optional)

    Use conda create a new environment

    conda create -n isat_env python=3.10
    

    activate new environment

    conda activate isat_env
    
  3. Install dependencies

    pip install -r requirements.txt
    

    Attention

    To use GPU on Windows OS, install torch and torchvision from Pytorch

  4. Run

    Start the application via the command line:

    python main.py
    

    Or

    # install isat as a package
    python setup.py install
    # run
    isat-sam