Giter Site home page Giter Site logo

joesrain / detectron2-resnest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chongruo/detectron2-resnest

0.0 1.0 0.0 2.25 MB

A fork of Detectron2 with ResNeSt backbone

License: Apache License 2.0

Shell 0.64% Python 89.11% C++ 3.55% Cuda 6.61% Dockerfile 0.09%

detectron2-resnest's Introduction

PWC PWC PWC PWC PWC

ResNeSt (Detectron2)

A fork of detectron2 contains the code implementation of detection and instance segmentation experiments in ResNeSt.

Paper

Object Detection

Method Backbone mAP% download
Faster R-CNN ResNet-50 39.25 config | model | log
ResNet-101 41.37 config | model | log
ResNeSt-50 (ours) 42.33 config | model | log
ResNeSt-50-DCNv2 (ours) 44.11 config | model | log
ResNeSt-101 (ours) 44.72 config | model | log
Cascade R-CNN ResNet-50 42.52 config | model | log
ResNet-101 44.03 config | model | log
ResNeSt-50 (ours) 45.41 config | model | log
ResNeSt-101 (ours) 47.50 config | model | log
ResNeSt-200 (ours) 49.03 config | model | log

We train all models with FPN, SyncBN and image scale augmentation (short size of a image is pickedrandomly from 640 to 800). 1x learning rate schedule is used. All of them are reported on COCO-2017 validation dataset.

Instance Segmentation

Method Backbone bbox mask download
Mask R-CNN ResNet-50 39.97 36.05 config | model | log
ResNet-101 41.78 37.51 config | model | log
ResNeSt-50 (ours) 42.81 38.14 config | model | log
ResNeSt-101 (ours) 45.75 40.65 config | model | log
Cascade R-CNN ResNet-50 43.06 37.19 config | model | log
ResNet-101 44.79 38.52 config | model | log
ResNeSt-50 (ours) 46.19 39.55 config | model | log
ResNeSt-101 (ours) 48.30 41.56 config | model | log
ResNeSt-200-tricks-3x (ours) 50.54 44.21 config | model | log
ResNeSt-200-dcn-tricks-3x (ours) 50.91 44.50 config | model | log
53.30* 47.10*

All models are trained along with FPN and SyncBN. For data augmentation,input images’ shorter side are randomly scaled to one of (640, 672, 704, 736, 768, 800). 1x learning rate schedule is used, if not otherwise specified. All of them are reported on COCO-2017 validation dataset. The values with * demonstrate the mutli-scale testing performance on the test-dev2019.

Panoptic Segmentation

Backbone bbox mask PQ download
ResNeSt-200 51.00 43.68 47.90 config | model | log

Training and Inference

Please follow INSTALL.md to install detecron2.

To train a model with 8 gpus, please run

python tools/train_net.py  --num-gpus 8 --config-file your_config.yaml

For inference

python tools/train_net.py  \
                --config-file your_config.yaml
                --eval-only MODEL.WEIGHTS /path/to/checkpoint_file

For the inference demo, please see GETTING_STARTED.md.

Reference

ResNeSt: Split-Attention Networks [arXiv]

Hang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Zhi Zhang, Haibin Lin, Yue Sun, Tong He, Jonas Muller, R. Manmatha, Mu Li and Alex Smola

@article{zhang2020resnest,
title={ResNeSt: Split-Attention Networks},
author={Zhang, Hang and Wu, Chongruo and Zhang, Zhongyue and Zhu, Yi and Zhang, Zhi and Lin, Haibin and Sun, Yue and He, Tong and Muller, Jonas and Manmatha, R. and Li, Mu and Smola, Alexander},
journal={arXiv preprint arXiv:2004.08955},
year={2020}
}

Related Repo

Contributors

Chongruo Wu, Zhongyue Zhang, Hang Zhang

detectron2-resnest's People

Contributors

ppwwyyxx avatar chongruo avatar wat3rbro avatar vkhalidov avatar alexander-kirillov avatar patricklabatut avatar zhanghang1989 avatar marcszafraniec avatar sampepose avatar superirabbit avatar maxfrei750 avatar wangg12 avatar lyttonhao avatar bryant1410 avatar raymondcm avatar obendidi avatar rajprateek avatar kondela avatar jerryzcn avatar arutyunovg avatar xmyqsh avatar botcs avatar yanicklandry avatar endernewton avatar rbgirshick avatar bxiong1202 avatar srishti-nema avatar timgates42 avatar timofurrer avatar wanyenlo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.