wesam
[CVPR 2024] Code for "Improving the Generalization of Segmentation Foundation Model under Distribution Shift via Weakly Supervised Adaptation"
File Explorer
Download Latest Version (.zip)- Pipeline.webp
- teaser.webp
- VISUAL.webp
- base_config.py
- config.py
- __init__.py
- CAMO.py
- COCO.py
- COCONut.py
- COD10K.py
- GDD.py
- ISIC.py
- ISTD.py
- MSD.py
- OCID.py
- OSD.py
- PascalVOC.py
- Polyp.py
- SA_1B.py
- tools.py
- __init__.py
- common.py
- image_encoder.py
- mask_decoder.py
- prompt_encoder.py
- sam.py
- transformer.py
- __init__.py
- amg.py
- onnx.py
- transforms.py
- __init__.py
- automatic_mask_generator.py
- build_sam.py
- predictor.py
- eval_utils.py
- sample_utils.py
- tools.py
- visualize.py
- .gitignore
- adaptation.py
- INSTALL.md
- LICENSE
- losses.py
- model.py
- PREPARE.md
- README.md
- requirements.txt
- sam_lora.py
- validate.py
# Installation Guide
1. Get the code
git clone https://github.com/zhang-haojie/wesam
Downloads the entire project code from GitHub to your computer.
cd wesam
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
