You could consider which dataset you would like to train/val, and download several of them in the following links:
Download SBD, GrabCut, Berkeley, DAVIS, Pascal VOC, COCO, LVIS following ritm project page
DAVIS-585: CliXEG
MSRA10K: https://mmcheng.net/msra10k/
DUTS-TE+TR: http://saliencydetection.net/duts/
HFlicker: https://github.com/bcmi/Image-Harmonization-Dataset-iHarmony4
YoutubeVOS: https://competitions.codalab.org/competitions/20127#participate-get-data
ThinObject: https://github.com/liewjunhao/thin-object-selection
SegFormer : https://drive.google.com/drive/folders/1b7bwrInTW4VLEm27YawHOAMSMikga2Ia
HRNet : https://github.com/HRNet/HRNet-Image-Classification
Do not forget to edit the path to datasets and pretrained weights in ./config.yml
If you want to train/val the model on your own dataset.
- Find a templet in ./isegm/data/datasets/ and write your own dataset.
- Add the dataset in ./isegm/data/datasets/_init_.py
- To val on the dataset: edit the function 'get_dataset' in ./isegm/inference/utils.py; add the dataset name in ./trainval_scripts/val_xxxx.sh.
- To train on the dataset: add the dataset in the corresponding files in ./models.