All Projects → hustvl → QueryInst

hustvl / QueryInst

Licence: MIT License
Instances as Queries (ICCV 2021)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to QueryInst

labelme2coco
How to create custom COCO data set for instance segmentation
Stars: ✭ 125 (-61.54%)
Mutual labels:  instance-segmentation
InstantDL
InstantDL: An easy and convenient deep learning pipeline for image segmentation and classification
Stars: ✭ 33 (-89.85%)
Mutual labels:  instance-segmentation
SOLQ
"SOLQ: Segmenting Objects by Learning Queries", SOLQ is an end-to-end instance segmentation framework with Transformer.
Stars: ✭ 159 (-51.08%)
Mutual labels:  instance-segmentation
rt-mrcnn
Real time instance segmentation with Mask R-CNN, live from webcam feed.
Stars: ✭ 47 (-85.54%)
Mutual labels:  instance-segmentation
OrientedRepPoints DOTA
Oriented Object Detection: Oriented RepPoints + Swin Transformer/ReResNet
Stars: ✭ 62 (-80.92%)
Mutual labels:  mmdetection
max-deeplab
Unofficial implementation of MaX-DeepLab for Instance Segmentation
Stars: ✭ 84 (-74.15%)
Mutual labels:  instance-segmentation
SimCal
Implementation of ECCV20 paper: the devil is in classification: a simple framework for long-tail object detection and instance segmentation
Stars: ✭ 99 (-69.54%)
Mutual labels:  instance-segmentation
Tensorflow-Object-Detection-API-train-custom-Mask-R-CNN-model
Train a Mask R-CNN model with the Tensorflow Object Detection API
Stars: ✭ 59 (-81.85%)
Mutual labels:  instance-segmentation
SeqFormer
SeqFormer: a Frustratingly Simple Model for Video Instance Segmentation
Stars: ✭ 230 (-29.23%)
Mutual labels:  video-instance-segmentation
COCO-dataset-explorer
Streamlit tool to explore coco datasets
Stars: ✭ 66 (-79.69%)
Mutual labels:  instance-segmentation
pytorch-polygon-rnn
Pytorch implementation of Polygon-RNN(http://www.cs.toronto.edu/polyrnn/poly_cvpr17/)
Stars: ✭ 102 (-68.62%)
Mutual labels:  instance-segmentation
uoais
Codes of paper "Unseen Object Amodal Instance Segmentation via Hierarchical Occlusion Modeling", ICRA 2022
Stars: ✭ 77 (-76.31%)
Mutual labels:  instance-segmentation
yolact
Tensorflow 2.x implementation YOLACT
Stars: ✭ 23 (-92.92%)
Mutual labels:  instance-segmentation
prostate segmentation
NCI-ISBI 2013 Challenge - Automated Segmentation of Prostate Structures
Stars: ✭ 28 (-91.38%)
Mutual labels:  instance-segmentation
Reproducibilty-Challenge-ECANET
Unofficial Implementation of ECANets (CVPR 2020) for the Reproducibility Challenge 2020.
Stars: ✭ 27 (-91.69%)
Mutual labels:  mmdetection
Tensorflow-YOLACT
Implementation of the paper "YOLACT Real-time Instance Segmentation" in Tensorflow 2
Stars: ✭ 97 (-70.15%)
Mutual labels:  instance-segmentation
Entity
EntitySeg Toolbox: Towards Open-World and High-Quality Image Segmentation
Stars: ✭ 313 (-3.69%)
Mutual labels:  instance-segmentation
ObjectNet
PyTorch implementation of "Pyramid Scene Parsing Network".
Stars: ✭ 15 (-95.38%)
Mutual labels:  instance-segmentation
mmdetection instance segmentation demo
How to train an instance segmentation model with mmdetection
Stars: ✭ 25 (-92.31%)
Mutual labels:  instance-segmentation
3DSemanticMapping JINT 2020
Repository for the paper "Extending Maps with Semantic and Contextual Object Information for Robot Navigation: a Learning-Based Framework using Visual and Depth Cues"
Stars: ✭ 38 (-88.31%)
Mutual labels:  instance-segmentation

Instances as Queries

PWC PWC PWC PWC

QueryInst-VIS Demo
  • [News]

    • Oct, 2021: QueryInst (ICCV 2021) is now officially included by mmdetection library, with new checkpoints, corresponding logs, and augmented training settings. We suggest you to use the newest QueryInst implementation in mmdetection, meanwhile this repo will be maintained too. Issues are welcomed if you have problems using QueryInst to reproduce the COCO AP reported in our paper.
    • Sep, 2021: We are now busy adding QueryInst to mmdetection library (https://github.com/open-mmlab/mmdetection/pull/6050, https://github.com/open-mmlab/mmdetection/issues/6000). The model will be augmented, please stay tuned. We will also extend QueryInst based on mmdetection library to other tasks, e.g., panoptic segmentation.
  • TL;DR: QueryInst (Instances as Queries) is a simple and effective query based instance segmentation method driven by parallel supervision on dynamic mask heads, which outperforms previous arts in terms of both accuracy and speed.

  • Our QueryTrack (i.e., Tracking Instances as Queries, tech report) based on QueryInst won the 2nd place (AP = 52.3 @ test set, AP = 54.3 @ val set) in video instance segmentation (VIS) track with single online end-to-end model, single scale testing & without using extra video training data in the 3rd Large-scale Video Object Segmentation Challenge, CVPR 2021.

  • For the first time, we demonstrate that an end-to-end query based framework driven by parallel supervision is competitive with well-established and highly-optimized methods in a wide range of instance-level recognition tasks (object detection, instance segmentation and video instance segmentation).

Instances as Queries

by Yuxin Fang*, Shusheng Yang*, Xinggang Wang†, Yu Li, Chen Fang, Ying Shan, Bin Feng, Wenyu Liu.

(*) equal contribution, (†) corresponding author.

ICCV2021 Paper

QueryInst

  • This repo serves as the official implementation for QueryInst, based on mmdetection and built upon Sparse R-CNN & DETR. Implantations based on Detectron2 will be released in the near future.

  • This project is under active development, we will extend QueryInst to a wide range of instance-level recognition tasks.

Main Results on COCO test-dev

Configs Aug. Weights Box AP Mask AP
QueryInst_Swin_L_300_queries (single scale testing) 400 ~ 1200, w/ Crop baidu / google 56.1 49.1

Main Results on COCO val

Configs Aug. Weights Box AP Mask AP
QueryInst_R50_3x_300_queries 480 ~ 800, w/ Crop baidu / google 46.9 41.4
QueryInst_R101_3x_300_queries 480 ~ 800, w/ Crop baidu / google 48.0 42.4
QueryInst_X101-DCN_3x_300_queries 480 ~ 800, w/ Crop - 50.3 44.2
QueryInst_Swin_L_300_queries (single scale testing) 400 ~ 1200, w/ Crop baidu / google 56.1 48.9

Notes:

  • Accesscode for baidu is QIst.

Getting Started

python setup.py develop
  • Prepare datasets:
mkdir data && cd data
ln -s /path/to/coco coco
  • Training QueryInst with single GPU:
python tools/train.py configs/queryinst/queryinst_r50_fpn_1x_coco.py
  • Training QueryInst with multi GPUs:
./tools/dist_train.sh configs/queryinst/queryinst_r50_fpn_1x_coco.py 8
  • Test QueryInst on COCO val set with single GPU:
python tools/test.py configs/queryinst/queryinst_r50_fpn_1x_coco.py PATH/TO/CKPT.pth --eval bbox segm
  • Test QueryInst on COCO val set with multi GPUs:
./tools/dist_test.sh configs/queryinst/queryinst_r50_fpn_1x_coco.py PATH/TO/CKPT.pth 8 --eval bbox segm

Citation

If you find our paper and code useful in your research, please consider giving a star and citation 📝 :

@InProceedings{Fang_2021_ICCV,
    author    = {Fang, Yuxin and Yang, Shusheng and Wang, Xinggang and Li, Yu and Fang, Chen and Shan, Ying and Feng, Bin and Liu, Wenyu},
    title     = {Instances As Queries},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2021},
    pages     = {6910-6919}
}
@article{QueryTrack,
  title={Tracking Instances as Queries},
  author={Yang, Shusheng and Fang, Yuxin and Wang, Xinggang and Li, Yu and Shan, Ying and Feng, Bin and Liu, Wenyu},
  journal={arXiv preprint arXiv:2106.11963},
  year={2021}
}

TODO

  • QueryInst training and inference code.
  • QueryInst with Swin-Transformer and Test-Time-Augmentation.
  • QueryInst configurations for Cityscapes and YouTube-VIS.
  • QueryInst pretrain weights.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].