START.md

August 15, 2022 ยท View on GitHub

Getting started with IAI

Model zoo

YTVIS2019

NameBackboneAugPretrainAPAP50AP75AR1AR10Model
IAI+CondInstR50COCO39.261.343.539.246.5gdrive
IAI+CondInstR50msCOCO39.962.343.940.146.8gdrive
IAI+CondInstR101msCOCO43.767.248.441.750.0gdrive

YTVIS2021

NameBackbonePretrainAPAP50AP75AR1AR10Model
IAI+CondInstR50COCO38.059.143.034.844.5gdrive

OVIS

NameBackbonePretrainAPAP50AP75AR1AR10Model
IAI+CondInstR50COCO+YTVIS201920.638.920.311.925.8gdrive

Training

Before training, please put the COCO pretrained model under the model folder.

To train model with multple GPUs, run:

bash tools/dist_train.sh $CONFIG_PATH 2

For example, to train IAI+CondInst r50 on YouTube-VIS 2019 with 2 GPUs, run:

bash tools/dist_train.sh configs/iai/ytvis2019_iai_condinst_r50.py 2

After training, the model will be saved in the output folder.

Inference & Evaluation

Evaluating on YouTube-VIS 2019 r50 with single GPU, run:

python tools/test.py $CONFIG_PATH $MODEL_PATH --eval segm

Evaluating on YouTube-VIS 2019 r50 with multiple GPUs (e.g. 2 GPUs), run:

bash tools/dist_test.sh $CONFIG_PATH $MODEL_PATH 2 

After evaluating, a json file with the predicted result will be generated as output/results.json. To get validataion results, please zip the json file and upload it to the codalab server for YouTube-VIS 2019, YouTube-VIS 2021 and OVIS.