Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxslp committed Apr 26, 2024
1 parent 685dcd4 commit dbc9a05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ After downloading our data (or preparing your own SoM data), train SoM-LLaVA via
`bash scripts/v1_5/finetune.sh`


## :snowflake: Notes for using SoM
## :snowflake: Using SoM
**Note:** Our implementaion is improved over the original SoM repo, by removing overlapping regions for each mask (otherwise there will be confilicts/overlaps for tag positions).

* Init virtual envs

```bash
Expand Down
2 changes: 1 addition & 1 deletion SoM/demo_som.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
semsam_cfg = "configs/semantic_sam_only_sa-1b_swinL.yaml"
seem_cfg = "configs/seem_focall_unicl_lang_v1.yaml"

model_dir = "/home/abc/checkpoints/"
model_dir = "~/checkpoints/"
semsam_ckpt = model_dir+"swinl_only_sam_many2many.pth"
sam_ckpt = model_dir+"sam_vit_h_4b8939.pth"
seem_ckpt = model_dir+"seem_focall_v1.pt"
Expand Down

0 comments on commit dbc9a05

Please sign in to comment.