Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 613 Bytes

INSTALL.md

File metadata and controls

25 lines (16 loc) · 613 Bytes
git clone https://github.com/Cheems-Seminar/grounded-segment-any-parts.git
cd grounded-segment-any-parts
conda create -n sani python=3.8
conda activate sani

# 1. Install torch 1.12.1
conda install pytorch==1.12.1 torchvision==0.13.1 cudatoolkit=11.6 -c pytorch -c conda-forge


# 2. Install requirements
pip install -r requirements.txt


# 3. Install sam
cd segment-anything; pip install -e .; cd ..

# 4. Install glip
cd glip; pip install -e .; cd ..

(Optional for part-level edit) 5. Install xformer

Follwing xformer install.