HarborYuan / ovsam

[ECCV 2024] The official code of paper "Open-Vocabulary SAM".
https://www.mmlab-ntu.com/project/ovsam
Other
945 stars 28 forks source link

About SAM datasets #44

Closed jiugexuan closed 2 months ago

jiugexuan commented 2 months ago

In SAM datasets:

├── sam
│   ├── train.txt
│   ├── val.txt
│   ├── sa_000020
│   │   ├── sa_223750.jpg
│   │   ├── sa_223750.json
│   │   ├── ...
│   ├── ...

how can i get the train.txt & val.txt?

HarborYuan commented 2 months ago

Hi @jiugexuan ,

You can write the folder names in the train.txt and val.txt. There are 1000 folders in the SA-1B dataset, so 1% of the SA-1B dataset corresponds to 10 folders.