OpenMMLab Detection Toolbox and Benchmark https://mmdetection.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
10 KiB

# Res2Net
add abstract and sketch to the CONFIGS/algorithm/README.md (#6654) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * [Enhance] Support file_client in Datasets and evaluating panoptic results on Ceph (#6489) * first version * Replace with our api * Add copyright * Move the runtime error to multi_core interface * Add docstring * Fix comments * Add comments * Add unit test for pq_compute_single_core * Fix MMDetection model to ONNX command (#6558) * Update README.md (#6567) * [Feature] Support custom persistent_workers (#6435) * Fix aug test error when the number of prediction bboxes is 0 (#6398) * Fix aug test error when the number of prediction bboxes is 0 * test * test * fix lint * Support custom pin_memory and persistent_workers * fix comment * fix docstr * remove pin_memory * Fix SSD512 config error (#6574) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * Fix ssd512 config error Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> * Catch symlink failure on Windows (#6482) * Catch symlink failure on Windows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Set copy mode on Windows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Fix lint Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Fix logic error Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [Feature] Support Label Assignment Distillation (LAD) (#6342) * add LAD * inherit LAD from KnowledgeDistillationSingleStageDetector * add configs/lad/lad_r101_paa_r50_fpn_coco_1x.py * update LAD readme * update configs/lad/README.md * try not to use abbreviations for variable names * add unittest for lad_head * update test_lad_head * remove main in tests/test_models/test_dense_heads/test_lad_head.py * [Fix] Avoid infinite GPU waiting in dist training (#6501) * [#6495] fix infinite GPU waiting in dist training * print log_vars keys in assertion msg * linting issue * Support to collect the best models (#6560) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * update * support gather best model Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> * [Enhance]: Optimize augmentation pipeline to speed up training. (#6442) * Refactor YOLOX (#6443) * Fix aug test error when the number of prediction bboxes is 0 (#6398) * Fix aug test error when the number of prediction bboxes is 0 * test * test * fix lint * Support custom pin_memory and persistent_workers * [Docs] Chinese version of robustness_benchmarking.md (#6375) * Chinese version of robustness_benchmarking.md * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * update yolox_s * update yolox_s * support dynamic eval interval * fix some error * support ceph * fix none error * fix batch error * replace resize * fix comment * fix docstr * Update the link of checkpoints (#6460) * [Feature]: Support plot confusion matrix. (#6344) * remove pin_memory * update * fix unittest * update cfg * fix error * add unittest * [Fix] Fix SpatialReductionAttention in PVT. (#6488) * [Fix] Fix SpatialReductionAttention in PVT * Add warning * Save coco summarize print information to logger (#6505) * Fix type error in 2_new_data_mode (#6469) * Always map location to cpu when load checkpoint (#6405) * configs: update groie README (#6401) Signed-off-by: Leonardo Rossi <leonardo.rossi@unipr.it> * [Fix] fix config path in docs (#6396) * [Enchance] Set a random seed when the user does not set a seed. (#6457) * fix random seed bug * add comment * enchance random seed * rename Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> * [BugFixed] fix wrong trunc_normal_init use (#6432) * fix wrong trunc_normal_init use * fix wrong trunc_normal_init use * fix #6446 Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> * bump version to v2.18.1 (#6510) * bump version to v2.18.1 * Update changelog.md * add some comment * fix some comment * update readme * fix lint * add reduce mean * update * update readme * update params Co-authored-by: Cedric Luo <luochunhua1996@outlook.com> Co-authored-by: RangiLyu <lyuchqi@gmail.com> Co-authored-by: Guangchen Lin <347630870@qq.com> Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com> Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> * [Refactor] Remove some code in `mmdet/apis/train.py` (#6576) * remove some code about custom hooks in apis/train.py * files were modified by yapf * Fix lad repeatedly output warning message (#6584) * drop support for pytorch 1.3.1. (#6589) * drop support for pytorch 1.3.1. * update ci * update ci * Skip CI on ignoring paths (#6578) * [test] Skip CI on ignoring paths Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [skip ci] fix build.yaml Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [Refactor]: refactor configs of FP16 models (#6592) * refactor configs of fp16 * update * update * update * Ignoring paths (#6615) Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * fix FP16 CI (#6616) * Bump to 2.19.0 (#6633) * bump to 2.19.0 * resolve comments * fix typo * fix * fix yolox cuda unittest (#6636) * Support circleci (#6630) * add ci * rename * fix mmtrack unittest * update mmcv version * add abstract and sketch to the CONFIGS/algorithm/README.md * add some ## Introduction * revert Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> Co-authored-by: Guangchen Lin <347630870@qq.com> Co-authored-by: Rishit Dagli <rishit.dagli@gmail.com> Co-authored-by: RangiLyu <lyuchqi@gmail.com> Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com> Co-authored-by: del-zhenwu <dele.zhenwu@gmail.com> Co-authored-by: Thuy Ng <thuypn9a4@gmail.com> Co-authored-by: Han Zhang <623606860@qq.com> Co-authored-by: Cedric Luo <luochunhua1996@outlook.com> Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com> Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Co-authored-by: Shilong Zhang <61961338+jshilong@users.noreply.github.com>
3 years ago
> [Res2Net: A New Multi-scale Backbone Architecture](https://arxiv.org/abs/1904.01169)
<!-- [BACKBONE] -->
add abstract and sketch to the CONFIGS/algorithm/README.md (#6654) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * [Enhance] Support file_client in Datasets and evaluating panoptic results on Ceph (#6489) * first version * Replace with our api * Add copyright * Move the runtime error to multi_core interface * Add docstring * Fix comments * Add comments * Add unit test for pq_compute_single_core * Fix MMDetection model to ONNX command (#6558) * Update README.md (#6567) * [Feature] Support custom persistent_workers (#6435) * Fix aug test error when the number of prediction bboxes is 0 (#6398) * Fix aug test error when the number of prediction bboxes is 0 * test * test * fix lint * Support custom pin_memory and persistent_workers * fix comment * fix docstr * remove pin_memory * Fix SSD512 config error (#6574) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * Fix ssd512 config error Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> * Catch symlink failure on Windows (#6482) * Catch symlink failure on Windows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Set copy mode on Windows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Fix lint Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Fix logic error Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [Feature] Support Label Assignment Distillation (LAD) (#6342) * add LAD * inherit LAD from KnowledgeDistillationSingleStageDetector * add configs/lad/lad_r101_paa_r50_fpn_coco_1x.py * update LAD readme * update configs/lad/README.md * try not to use abbreviations for variable names * add unittest for lad_head * update test_lad_head * remove main in tests/test_models/test_dense_heads/test_lad_head.py * [Fix] Avoid infinite GPU waiting in dist training (#6501) * [#6495] fix infinite GPU waiting in dist training * print log_vars keys in assertion msg * linting issue * Support to collect the best models (#6560) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * update * support gather best model Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> * [Enhance]: Optimize augmentation pipeline to speed up training. (#6442) * Refactor YOLOX (#6443) * Fix aug test error when the number of prediction bboxes is 0 (#6398) * Fix aug test error when the number of prediction bboxes is 0 * test * test * fix lint * Support custom pin_memory and persistent_workers * [Docs] Chinese version of robustness_benchmarking.md (#6375) * Chinese version of robustness_benchmarking.md * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * update yolox_s * update yolox_s * support dynamic eval interval * fix some error * support ceph * fix none error * fix batch error * replace resize * fix comment * fix docstr * Update the link of checkpoints (#6460) * [Feature]: Support plot confusion matrix. (#6344) * remove pin_memory * update * fix unittest * update cfg * fix error * add unittest * [Fix] Fix SpatialReductionAttention in PVT. (#6488) * [Fix] Fix SpatialReductionAttention in PVT * Add warning * Save coco summarize print information to logger (#6505) * Fix type error in 2_new_data_mode (#6469) * Always map location to cpu when load checkpoint (#6405) * configs: update groie README (#6401) Signed-off-by: Leonardo Rossi <leonardo.rossi@unipr.it> * [Fix] fix config path in docs (#6396) * [Enchance] Set a random seed when the user does not set a seed. (#6457) * fix random seed bug * add comment * enchance random seed * rename Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> * [BugFixed] fix wrong trunc_normal_init use (#6432) * fix wrong trunc_normal_init use * fix wrong trunc_normal_init use * fix #6446 Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> * bump version to v2.18.1 (#6510) * bump version to v2.18.1 * Update changelog.md * add some comment * fix some comment * update readme * fix lint * add reduce mean * update * update readme * update params Co-authored-by: Cedric Luo <luochunhua1996@outlook.com> Co-authored-by: RangiLyu <lyuchqi@gmail.com> Co-authored-by: Guangchen Lin <347630870@qq.com> Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com> Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> * [Refactor] Remove some code in `mmdet/apis/train.py` (#6576) * remove some code about custom hooks in apis/train.py * files were modified by yapf * Fix lad repeatedly output warning message (#6584) * drop support for pytorch 1.3.1. (#6589) * drop support for pytorch 1.3.1. * update ci * update ci * Skip CI on ignoring paths (#6578) * [test] Skip CI on ignoring paths Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [skip ci] fix build.yaml Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [Refactor]: refactor configs of FP16 models (#6592) * refactor configs of fp16 * update * update * update * Ignoring paths (#6615) Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * fix FP16 CI (#6616) * Bump to 2.19.0 (#6633) * bump to 2.19.0 * resolve comments * fix typo * fix * fix yolox cuda unittest (#6636) * Support circleci (#6630) * add ci * rename * fix mmtrack unittest * update mmcv version * add abstract and sketch to the CONFIGS/algorithm/README.md * add some ## Introduction * revert Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> Co-authored-by: Guangchen Lin <347630870@qq.com> Co-authored-by: Rishit Dagli <rishit.dagli@gmail.com> Co-authored-by: RangiLyu <lyuchqi@gmail.com> Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com> Co-authored-by: del-zhenwu <dele.zhenwu@gmail.com> Co-authored-by: Thuy Ng <thuypn9a4@gmail.com> Co-authored-by: Han Zhang <623606860@qq.com> Co-authored-by: Cedric Luo <luochunhua1996@outlook.com> Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com> Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Co-authored-by: Shilong Zhang <61961338+jshilong@users.noreply.github.com>
3 years ago
## Abstract
add abstract and sketch to the CONFIGS/algorithm/README.md (#6654) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * [Enhance] Support file_client in Datasets and evaluating panoptic results on Ceph (#6489) * first version * Replace with our api * Add copyright * Move the runtime error to multi_core interface * Add docstring * Fix comments * Add comments * Add unit test for pq_compute_single_core * Fix MMDetection model to ONNX command (#6558) * Update README.md (#6567) * [Feature] Support custom persistent_workers (#6435) * Fix aug test error when the number of prediction bboxes is 0 (#6398) * Fix aug test error when the number of prediction bboxes is 0 * test * test * fix lint * Support custom pin_memory and persistent_workers * fix comment * fix docstr * remove pin_memory * Fix SSD512 config error (#6574) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * Fix ssd512 config error Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> * Catch symlink failure on Windows (#6482) * Catch symlink failure on Windows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Set copy mode on Windows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Fix lint Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * Fix logic error Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [Feature] Support Label Assignment Distillation (LAD) (#6342) * add LAD * inherit LAD from KnowledgeDistillationSingleStageDetector * add configs/lad/lad_r101_paa_r50_fpn_coco_1x.py * update LAD readme * update configs/lad/README.md * try not to use abbreviations for variable names * add unittest for lad_head * update test_lad_head * remove main in tests/test_models/test_dense_heads/test_lad_head.py * [Fix] Avoid infinite GPU waiting in dist training (#6501) * [#6495] fix infinite GPU waiting in dist training * print log_vars keys in assertion msg * linting issue * Support to collect the best models (#6560) * Fix mosaic repr typo (#6523) * Include mmflow in readme (#6545) * Include mmflow in readme * Include mmflow in README_zh-CN * Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py. * Make OHEM work with seesaw loss (#6514) * update * support gather best model Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> * [Enhance]: Optimize augmentation pipeline to speed up training. (#6442) * Refactor YOLOX (#6443) * Fix aug test error when the number of prediction bboxes is 0 (#6398) * Fix aug test error when the number of prediction bboxes is 0 * test * test * fix lint * Support custom pin_memory and persistent_workers * [Docs] Chinese version of robustness_benchmarking.md (#6375) * Chinese version of robustness_benchmarking.md * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update docs_zh-CN/robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md * Update robustness_benchmarking.md Co-authored-by: RangiLyu <lyuchqi@gmail.com> * update yolox_s * update yolox_s * support dynamic eval interval * fix some error * support ceph * fix none error * fix batch error * replace resize * fix comment * fix docstr * Update the link of checkpoints (#6460) * [Feature]: Support plot confusion matrix. (#6344) * remove pin_memory * update * fix unittest * update cfg * fix error * add unittest * [Fix] Fix SpatialReductionAttention in PVT. (#6488) * [Fix] Fix SpatialReductionAttention in PVT * Add warning * Save coco summarize print information to logger (#6505) * Fix type error in 2_new_data_mode (#6469) * Always map location to cpu when load checkpoint (#6405) * configs: update groie README (#6401) Signed-off-by: Leonardo Rossi <leonardo.rossi@unipr.it> * [Fix] fix config path in docs (#6396) * [Enchance] Set a random seed when the user does not set a seed. (#6457) * fix random seed bug * add comment * enchance random seed * rename Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> * [BugFixed] fix wrong trunc_normal_init use (#6432) * fix wrong trunc_normal_init use * fix wrong trunc_normal_init use * fix #6446 Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> * bump version to v2.18.1 (#6510) * bump version to v2.18.1 * Update changelog.md * add some comment * fix some comment * update readme * fix lint * add reduce mean * update * update readme * update params Co-authored-by: Cedric Luo <luochunhua1996@outlook.com> Co-authored-by: RangiLyu <lyuchqi@gmail.com> Co-authored-by: Guangchen Lin <347630870@qq.com> Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com> Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> * [Refactor] Remove some code in `mmdet/apis/train.py` (#6576) * remove some code about custom hooks in apis/train.py * files were modified by yapf * Fix lad repeatedly output warning message (#6584) * drop support for pytorch 1.3.1. (#6589) * drop support for pytorch 1.3.1. * update ci * update ci * Skip CI on ignoring paths (#6578) * [test] Skip CI on ignoring paths Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [skip ci] fix build.yaml Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * split lint in workflows Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * [Refactor]: refactor configs of FP16 models (#6592) * refactor configs of fp16 * update * update * update * Ignoring paths (#6615) Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com> * fix FP16 CI (#6616) * Bump to 2.19.0 (#6633) * bump to 2.19.0 * resolve comments * fix typo * fix * fix yolox cuda unittest (#6636) * Support circleci (#6630) * add ci * rename * fix mmtrack unittest * update mmcv version * add abstract and sketch to the CONFIGS/algorithm/README.md * add some ## Introduction * revert Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Co-authored-by: ohwi <supebulous@gmail.com> Co-authored-by: Guangchen Lin <347630870@qq.com> Co-authored-by: Rishit Dagli <rishit.dagli@gmail.com> Co-authored-by: RangiLyu <lyuchqi@gmail.com> Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com> Co-authored-by: del-zhenwu <dele.zhenwu@gmail.com> Co-authored-by: Thuy Ng <thuypn9a4@gmail.com> Co-authored-by: Han Zhang <623606860@qq.com> Co-authored-by: Cedric Luo <luochunhua1996@outlook.com> Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com> Co-authored-by: Uno Wu <st9007a@gmail.com> Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it> Co-authored-by: BigDong <yudongwang@tju.edu.cn> Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn> Co-authored-by: Shusheng Yang <shusheng.yang@qq.com> Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Co-authored-by: Shilong Zhang <61961338+jshilong@users.noreply.github.com>
3 years ago
Representing features at multiple scales is of great importance for numerous vision tasks. Recent advances in backbone convolutional neural networks (CNNs) continually demonstrate stronger multi-scale representation ability, leading to consistent performance gains on a wide range of applications. However, most existing methods represent the multi-scale features in a layer-wise manner. In this paper, we propose a novel building block for CNNs, namely Res2Net, by constructing hierarchical residual-like connections within one single residual block. The Res2Net represents multi-scale features at a granular level and increases the range of receptive fields for each network layer. The proposed Res2Net block can be plugged into the state-of-the-art backbone CNN models, e.g., ResNet, ResNeXt, and DLA. We evaluate the Res2Net block on all these models and demonstrate consistent performance gains over baseline models on widely-used datasets, e.g., CIFAR-100 and ImageNet. Further ablation studies and experimental results on representative computer vision tasks, i.e., object detection, class activation mapping, and salient object detection, further verify the superiority of the Res2Net over the state-of-the-art baseline methods.
<div align=center>
<img src="https://user-images.githubusercontent.com/40661020/143972411-8d08113f-9fce-4d24-a138-4fadf2c54f9a.png" height="300"/>
</div>
## Introduction
We propose a novel building block for CNNs, namely Res2Net, by constructing hierarchical residual-like connections within one single residual block. The Res2Net represents multi-scale features at a granular level and increases the range of receptive fields for each network layer.
| Backbone | Params. | GFLOPs | top-1 err. | top-5 err. |
| :---------------: | :-----: | :----: | :--------: | :--------: |
| ResNet-101 | 44.6 M | 7.8 | 22.63 | 6.44 |
| ResNeXt-101-64x4d | 83.5M | 15.5 | 20.40 | - |
| HRNetV2p-W48 | 77.5M | 16.1 | 20.70 | 5.50 |
| Res2Net-101 | 45.2M | 8.3 | 18.77 | 4.64 |
Compared with other backbone networks, Res2Net requires fewer parameters and FLOPs.
**Note:**
- GFLOPs for classification are calculated with image size (224x224).
## Results and Models
### Faster R-CNN
| Backbone | Style | Lr schd | Mem (GB) | Inf time (fps) | box AP | Config | Download |
| :--------: | :-----: | :-----: | :------: | :------------: | :----: | :---------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| R2-101-FPN | pytorch | 2x | 7.4 | - | 43.0 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/res2net/faster_rcnn_r2_101_fpn_2x_coco.py) | [model](https://download.openmmlab.com/mmdetection/v2.0/res2net/faster_rcnn_r2_101_fpn_2x_coco/faster_rcnn_r2_101_fpn_2x_coco-175f1da6.pth) \| [log](https://download.openmmlab.com/mmdetection/v2.0/res2net/faster_rcnn_r2_101_fpn_2x_coco/faster_rcnn_r2_101_fpn_2x_coco_20200514_231734.log.json) |
### Mask R-CNN
| Backbone | Style | Lr schd | Mem (GB) | Inf time (fps) | box AP | mask AP | Config | Download |
| :--------: | :-----: | :-----: | :------: | :------------: | :----: | :-----: | :-------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| R2-101-FPN | pytorch | 2x | 7.9 | - | 43.6 | 38.7 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/res2net/mask_rcnn_r2_101_fpn_2x_coco.py) | [model](https://download.openmmlab.com/mmdetection/v2.0/res2net/mask_rcnn_r2_101_fpn_2x_coco/mask_rcnn_r2_101_fpn_2x_coco-17f061e8.pth) \| [log](https://download.openmmlab.com/mmdetection/v2.0/res2net/mask_rcnn_r2_101_fpn_2x_coco/mask_rcnn_r2_101_fpn_2x_coco_20200515_002413.log.json) |
### Cascade R-CNN
| Backbone | Style | Lr schd | Mem (GB) | Inf time (fps) | box AP | Config | Download |
| :--------: | :-----: | :-----: | :------: | :------------: | :----: | :-----------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| R2-101-FPN | pytorch | 20e | 7.8 | - | 45.7 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/res2net/cascade_rcnn_r2_101_fpn_20e_coco.py) | [model](https://download.openmmlab.com/mmdetection/v2.0/res2net/cascade_rcnn_r2_101_fpn_20e_coco/cascade_rcnn_r2_101_fpn_20e_coco-f4b7b7db.pth) \| [log](https://download.openmmlab.com/mmdetection/v2.0/res2net/cascade_rcnn_r2_101_fpn_20e_coco/cascade_rcnn_r2_101_fpn_20e_coco_20200515_091644.log.json) |
### Cascade Mask R-CNN
| Backbone | Style | Lr schd | Mem (GB) | Inf time (fps) | box AP | mask AP | Config | Download |
| :--------: | :-----: | :-----: | :------: | :------------: | :----: | :-----: | :----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| R2-101-FPN | pytorch | 20e | 9.5 | - | 46.4 | 40.0 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/res2net/cascade_mask_rcnn_r2_101_fpn_20e_coco.py) | [model](https://download.openmmlab.com/mmdetection/v2.0/res2net/cascade_mask_rcnn_r2_101_fpn_20e_coco/cascade_mask_rcnn_r2_101_fpn_20e_coco-8a7b41e1.pth) \| [log](https://download.openmmlab.com/mmdetection/v2.0/res2net/cascade_mask_rcnn_r2_101_fpn_20e_coco/cascade_mask_rcnn_r2_101_fpn_20e_coco_20200515_091645.log.json) |
### Hybrid Task Cascade (HTC)
| Backbone | Style | Lr schd | Mem (GB) | Inf time (fps) | box AP | mask AP | Config | Download |
| :--------: | :-----: | :-----: | :------: | :------------: | :----: | :-----: | :--------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| R2-101-FPN | pytorch | 20e | - | - | 47.5 | 41.6 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/res2net/htc_r2_101_fpn_20e_coco.py) | [model](https://download.openmmlab.com/mmdetection/v2.0/res2net/htc_r2_101_fpn_20e_coco/htc_r2_101_fpn_20e_coco-3a8d2112.pth) \| [log](https://download.openmmlab.com/mmdetection/v2.0/res2net/htc_r2_101_fpn_20e_coco/htc_r2_101_fpn_20e_coco_20200515_150029.log.json) |
- Res2Net ImageNet pretrained models are in [Res2Net-PretrainedModels](https://github.com/Res2Net/Res2Net-PretrainedModels).
- More applications of Res2Net are in [Res2Net-Github](https://github.com/Res2Net/).
## Citation
```latex
@article{gao2019res2net,
title={Res2Net: A New Multi-scale Backbone Architecture},
author={Gao, Shang-Hua and Cheng, Ming-Ming and Zhao, Kai and Zhang, Xin-Yu and Yang, Ming-Hsuan and Torr, Philip},
journal={IEEE TPAMI},
year={2020},
doi={10.1109/TPAMI.2019.2938758},
}
```