All Projects → Epiphqny → Condinst

Epiphqny / Condinst

Conditional Convolutions for Instance Segmentation, achives 37.1mAP on coco val

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Condinst

Detectorch
Detectorch - detectron for PyTorch
Stars: ✭ 566 (+460.4%)
Mutual labels:  instance-segmentation
Sota Point Cloud
🔥Deep Learning for 3D Point Clouds (IEEE TPAMI, 2020)
Stars: ✭ 778 (+670.3%)
Mutual labels:  instance-segmentation
Data Science Bowl 2018
End-to-end one-class instance segmentation based on U-Net architecture for Data Science Bowl 2018 in Kaggle
Stars: ✭ 56 (-44.55%)
Mutual labels:  instance-segmentation
Centermask2
Real-time Anchor-Free Instance Segmentation, in CVPR 2020
Stars: ✭ 596 (+490.1%)
Mutual labels:  instance-segmentation
Polyrnn Pp
Inference Code for Polygon-RNN++ (CVPR 2018)
Stars: ✭ 704 (+597.03%)
Mutual labels:  instance-segmentation
Acis
Actor-Critic Instance Segmentation (CVPR 2019)
Stars: ✭ 15 (-85.15%)
Mutual labels:  instance-segmentation
Multi Human Parsing
🔥🔥Official Repository for Multi-Human-Parsing (MHP)🔥🔥
Stars: ✭ 507 (+401.98%)
Mutual labels:  instance-segmentation
Seg By Interaction
Unsupervised instance segmentation via active robot interaction
Stars: ✭ 78 (-22.77%)
Mutual labels:  instance-segmentation
Labelme
Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
Stars: ✭ 7,742 (+7565.35%)
Mutual labels:  instance-segmentation
Yolact fcos
YOLACT: Real-time Instance Segmentation on the FCOS detector (without bbox cropping), achives 35.2mAP on coco val
Stars: ✭ 56 (-44.55%)
Mutual labels:  instance-segmentation
Centermask
CenterMask : Real-Time Anchor-Free Instance Segmentation, in CVPR 2020
Stars: ✭ 646 (+539.6%)
Mutual labels:  instance-segmentation
Yolact edge
The first competitive instance segmentation approach that runs on small edge devices at real-time speeds.
Stars: ✭ 697 (+590.1%)
Mutual labels:  instance-segmentation
Gcnet
GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond
Stars: ✭ 945 (+835.64%)
Mutual labels:  instance-segmentation
Upsnet
UPSNet: A Unified Panoptic Segmentation Network
Stars: ✭ 578 (+472.28%)
Mutual labels:  instance-segmentation
Maskrcnn Modanet
A Mask R-CNN Keras implementation with Modanet annotations on the Paperdoll dataset
Stars: ✭ 59 (-41.58%)
Mutual labels:  instance-segmentation
Mmdetection Annotated
mmdetection源码注释
Stars: ✭ 544 (+438.61%)
Mutual labels:  instance-segmentation
Cell Detr
Official and maintained implementation of the paper Attention-Based Transformers for Instance Segmentation of Cells in Microstructures [BIBM 2020].
Stars: ✭ 26 (-74.26%)
Mutual labels:  instance-segmentation
Awesome Referring Image Segmentation
📚 A collection of papers about Referring Image Segmentation.
Stars: ✭ 91 (-9.9%)
Mutual labels:  instance-segmentation
Panet
PANet for Instance Segmentation and Object Detection
Stars: ✭ 1,170 (+1058.42%)
Mutual labels:  instance-segmentation
Solo
SOLO and SOLOv2 for instance segmentation, ECCV 2020 & NeurIPS 2020.
Stars: ✭ 992 (+882.18%)
Mutual labels:  instance-segmentation

CondInst

This repository is an unofficial pytorch implementation of Conditional Convolutions for Instance Segmentation. The model with ResNet-101 backbone achieves 37.1 mAP on COCO val2017 set.

Install

The code is based on detectron2. Please check Install.md for installation instructions.

Training

Follows the same way as detectron2.

Single GPU:

python train_net.py --config-file configs/CondInst/MS_R_101_3x.yaml

Multi GPU(for example 8):

python train_net.py --num-gpus 8 --config-file configs/CondInst/MS_R_101_3x.yaml

Please adjust the IMS_PER_BATCH in the config file according to the GPU memory.

Notes

I have replaced the original upsample with the aligned upsample according to the author's issue, and use the upsampled mask to calculate loss, this brings more gains but may cost more GPU memory, if you do not have much memory, use the original unupsampled version to calculate loss.

Inference

First replace the original detectron2 installed postprocessing.py with the file in this repository, as the original file only suit for ROI obatined masks. The path should be like /miniconda3/envs/py37/lib/python3.7/site-packages/detectron2/modeling/postprocessing.py

Single GPU:

python train_net.py --config-file configs/CondInst/MS_R_101_3x.yaml --eval-only MODEL.WEIGHTS /path/to/checkpoint_file

Multi GPU(for example 8):

python train_net.py --num-gpus 8 --config-file configs/CondInst/MS_R_101_3x.yaml --eval-only MODEL.WEIGHTS /path/to/checkpoint_file

Weights

Trained model can be download in Google drive

Results

After training 36 epochs on the coco dataset using the resnet-101 backbone, the mAP is 0.371 on COCO val2017 dataset:

Visualization

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].