Forking from https://github.com/zjhuang22/maskscoring_rcnn
Mask Scoring R-CNN contains a network block to learn the quality of the predicted instance masks. The proposed network block takes the instance feature and the corresponding predicted mask together to regress the mask IoU. The mask scoring strategy calibrates the misalignment between mask quality and mask score, and improves instance segmentation performance by prioritizing more accurate mask predictions during COCO AP evaluation. By extensive evaluations on the COCO dataset, Mask Scoring R-CNN brings consistent and noticeable gain with different models and different frameworks. The network of MS R-CNN is as follows:
Check INSTALL.md for installation instructions.
mkdir -p datasets/coco
ln -s /path_to_coco_dataset/annotations datasets/coco/annotations
ln -s /path_to_coco_dataset/train2017 datasets/coco/train2017
ln -s /path_to_coco_dataset/test2017 datasets/coco/test2017
ln -s /path_to_coco_dataset/val2017 datasets/coco/val2017
coco dataset can be download from here link or (thanks to) link
coco dataset description can be found in COCO official website link or in link
STEP ONE: mkdir models
STEP TWO: download my coco2017 pretrained instance segmentation models
STEP THREE: put it in directory ---> models
My coco2017 training log and pre-trained models(models to configs/e2e_ms_rcnn_R_50_FPN_1x.yaml) can be found here link(pw:53hd).
STEP ONE: download pretrained instance segmentation Models
STEP TWO: python demo/demo.py