{"id":13958416,"url":"https://github.com/open-mmlab/mmrotate","last_synced_at":"2025-05-14T08:05:41.141Z","repository":{"id":36960596,"uuid":"460236391","full_name":"open-mmlab/mmrotate","owner":"open-mmlab","description":"OpenMMLab Rotated Object Detection Toolbox and Benchmark","archived":false,"fork":false,"pushed_at":"2024-09-28T11:54:55.000Z","size":21252,"stargazers_count":1978,"open_issues_count":298,"forks_count":592,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-05-12T13:53:49.080Z","etag":null,"topics":["detection","openmmlab","pytorch","rotated-object"],"latest_commit_sha":null,"homepage":"https://mmrotate.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-mmlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-17T01:19:05.000Z","updated_at":"2025-05-10T15:16:15.000Z","dependencies_parsed_at":"2024-06-18T18:19:05.861Z","dependency_job_id":"61a99920-0c6b-4073-8128-8f0c786b20ea","html_url":"https://github.com/open-mmlab/mmrotate","commit_stats":{"total_commits":133,"total_committers":29,"mean_commits":4.586206896551724,"dds":0.6090225563909775,"last_synced_commit":"7755aa53b6e2d9c61fd765e67a60daa7ed8a1e05"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-mmlab%2Fmmrotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-mmlab%2Fmmrotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-mmlab%2Fmmrotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-mmlab%2Fmmrotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-mmlab","download_url":"https://codeload.github.com/open-mmlab/mmrotate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101589,"owners_count":22014908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["detection","openmmlab","pytorch","rotated-object"],"created_at":"2024-08-08T13:01:33.190Z","updated_at":"2025-05-14T08:05:36.127Z","avatar_url":"https://github.com/open-mmlab.png","language":"Python","funding_links":[],"categories":["对象检测、分割"],"sub_categories":["网络服务_其他"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"resources/mmrotate-logo.png\" width=\"450\"/\u003e\n  \u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003cb\u003e\u003cfont size=\"5\"\u003eOpenMMLab website\u003c/font\u003e\u003c/b\u003e\n    \u003csup\u003e\n      \u003ca href=\"https://openmmlab.com\"\u003e\n        \u003ci\u003e\u003cfont size=\"4\"\u003eHOT\u003c/font\u003e\u003c/i\u003e\n      \u003c/a\u003e\n    \u003c/sup\u003e\n    \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n    \u003cb\u003e\u003cfont size=\"5\"\u003eOpenMMLab platform\u003c/font\u003e\u003c/b\u003e\n    \u003csup\u003e\n      \u003ca href=\"https://platform.openmmlab.com\"\u003e\n        \u003ci\u003e\u003cfont size=\"4\"\u003eTRY IT OUT\u003c/font\u003e\u003c/i\u003e\n      \u003c/a\u003e\n    \u003c/sup\u003e\n  \u003c/div\u003e\n  \u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\n\n[![PyPI](https://img.shields.io/pypi/v/mmrotate)](https://pypi.org/project/mmrotate)\n[![docs](https://img.shields.io/badge/docs-latest-blue)](https://mmrotate.readthedocs.io/en/latest/)\n[![badge](https://github.com/open-mmlab/mmrotate/workflows/build/badge.svg)](https://github.com/open-mmlab/mmrotate/actions)\n[![codecov](https://codecov.io/gh/open-mmlab/mmrotate/branch/main/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmrotate)\n[![license](https://img.shields.io/github/license/open-mmlab/mmrotate.svg)](https://github.com/open-mmlab/mmrotate/blob/main/LICENSE)\n[![open issues](https://isitmaintained.com/badge/open/open-mmlab/mmrotate.svg)](https://github.com/open-mmlab/mmrotate/issues)\n[![issue resolution](https://isitmaintained.com/badge/resolution/open-mmlab/mmrotate.svg)](https://github.com/open-mmlab/mmrotate/issues)\n\n[📘Documentation](https://mmrotate.readthedocs.io/en/latest/) |\n[🛠️Installation](https://mmrotate.readthedocs.io/en/latest/install.html) |\n[👀Model Zoo](https://mmrotate.readthedocs.io/en/latest/model_zoo.html) |\n[🆕Update News](https://mmrotate.readthedocs.io/en/latest/changelog.html) |\n[🚀Ongoing Projects](https://github.com/open-mmlab/mmrotate/projects) |\n[🤔Reporting Issues](https://github.com/open-mmlab/mmrotate/issues/new/choose)\n\n\u003c/div\u003e\n\n\u003c!--中/英 文档切换--\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nEnglish | [简体中文](README_zh-CN.md)\n\n\u003c/div\u003e\n\n## Introduction\n\nMMRotate is an open-source toolbox for rotated object detection based on PyTorch.\nIt is a part of the [OpenMMLab project](https://github.com/open-mmlab).\n\nThe master branch works with **PyTorch 1.6+**.\n\nhttps://user-images.githubusercontent.com/10410257/154433305-416d129b-60c8-44c7-9ebb-5ba106d3e9d5.MP4\n\n\u003cdetails open\u003e\n\u003csummary\u003e\u003cb\u003eMajor Features\u003c/b\u003e\u003c/summary\u003e\n\n- **Support multiple angle representations**\n\n  MMRotate provides three mainstream angle representations to meet different paper settings.\n\n- **Modular Design**\n\n  We decompose the rotated object detection framework into different components,\n  which makes it much easy and flexible to build a new model by combining different modules.\n\n- **Strong baseline and State of the art**\n\n  The toolbox provides strong baselines and state-of-the-art methods in rotated object detection.\n\n\u003c/details\u003e\n\n## What's New\n\n### Highlight\n\nWe are excited to announce our latest work on real-time object recognition tasks, **RTMDet**, a family of fully convolutional single-stage detectors. RTMDet not only achieves the best parameter-accuracy trade-off on object detection from tiny to extra-large model sizes but also obtains new state-of-the-art performance on instance segmentation and rotated object detection tasks. Details can be found in the [technical report](https://arxiv.org/abs/2212.07784). Pre-trained models are [here](https://github.com/open-mmlab/mmrotate/tree/1.x/configs/rotated_rtmdet).\n\n[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/rtmdet-an-empirical-study-of-designing-real/real-time-instance-segmentation-on-mscoco)](https://paperswithcode.com/sota/real-time-instance-segmentation-on-mscoco?p=rtmdet-an-empirical-study-of-designing-real)\n[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/rtmdet-an-empirical-study-of-designing-real/object-detection-in-aerial-images-on-dota-1)](https://paperswithcode.com/sota/object-detection-in-aerial-images-on-dota-1?p=rtmdet-an-empirical-study-of-designing-real)\n[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/rtmdet-an-empirical-study-of-designing-real/object-detection-in-aerial-images-on-hrsc2016)](https://paperswithcode.com/sota/object-detection-in-aerial-images-on-hrsc2016?p=rtmdet-an-empirical-study-of-designing-real)\n\n| Task                     | Dataset | AP                                   | FPS(TRT FP16 BS1 3090) |\n| ------------------------ | ------- | ------------------------------------ | ---------------------- |\n| Object Detection         | COCO    | 52.8                                 | 322                    |\n| Instance Segmentation    | COCO    | 44.6                                 | 188                    |\n| Rotated Object Detection | DOTA    | 78.9(single-scale)/81.3(multi-scale) | 121                    |\n\n\u003cdiv align=center\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/12907710/208044554-1e8de6b5-48d8-44e4-a7b5-75076c7ebb71.png\"/\u003e\n\u003c/div\u003e\n\n**0.3.4** was released in 01/02/2023:\n\n- Fix compatibility with numpy, scikit-learn, and e2cnn.\n- Support empty patch in Rotate Transform\n- use iof for RRandomCrop validation\n\nPlease refer to [changelog.md](docs/en/changelog.md) for details and release history.\n\n## Installation\n\nMMRotate depends on [PyTorch](https://pytorch.org/), [MMCV](https://github.com/open-mmlab/mmcv) and [MMDetection](https://github.com/open-mmlab/mmdetection).\nBelow are quick steps for installation.\nPlease refer to [Install Guide](https://mmrotate.readthedocs.io/en/latest/install.html) for more detailed instruction.\n\n```shell\nconda create -n open-mmlab python=3.7 pytorch==1.7.0 cudatoolkit=10.1 torchvision -c pytorch -y\nconda activate open-mmlab\npip install openmim\nmim install mmcv-full\nmim install mmdet\ngit clone https://github.com/open-mmlab/mmrotate.git\ncd mmrotate\npip install -r requirements/build.txt\npip install -v -e .\n```\n\n## Get Started\n\nPlease see [get_started.md](docs/en/get_started.md) for the basic usage of MMRotate.\nWe provide [colab tutorial](demo/MMRotate_Tutorial.ipynb), and other tutorials for:\n\n- [learn the basics](docs/en/intro.md)\n- [learn the config](docs/en/tutorials/customize_config.md)\n- [customize dataset](docs/en/tutorials/customize_dataset.md)\n- [customize model](docs/en/tutorials/customize_models.md)\n- [useful tools](docs/en/tutorials/useful_tools.md)\n\n## Model Zoo\n\nResults and models are available in the *README.md* of each method's config directory.\nA summary can be found in the [Model Zoo](docs/en/model_zoo.md) page.\n\n\u003cdetails open\u003e\n\u003csummary\u003e\u003cb\u003eSupported algorithms:\u003c/b\u003e\u003c/summary\u003e\n\n- [x] [Rotated RetinaNet-OBB/HBB](configs/rotated_retinanet/README.md) (ICCV'2017)\n- [x] [Rotated FasterRCNN-OBB](configs/rotated_faster_rcnn/README.md) (TPAMI'2017)\n- [x] [Rotated RepPoints-OBB](configs/rotated_reppoints/README.md) (ICCV'2019)\n- [x] [Rotated FCOS](configs/rotated_fcos/README.md) (ICCV'2019)\n- [x] [RoI Transformer](configs/roi_trans/README.md) (CVPR'2019)\n- [x] [Gliding Vertex](configs/gliding_vertex/README.md) (TPAMI'2020)\n- [x] [Rotated ATSS-OBB](configs/rotated_atss/README.md) (CVPR'2020)\n- [x] [CSL](configs/csl/README.md) (ECCV'2020)\n- [x] [R\u003csup\u003e3\u003c/sup\u003eDet](configs/r3det/README.md) (AAAI'2021)\n- [x] [S\u003csup\u003e2\u003c/sup\u003eA-Net](configs/s2anet/README.md) (TGRS'2021)\n- [x] [ReDet](configs/redet/README.md) (CVPR'2021)\n- [x] [Beyond Bounding-Box](configs/cfa/README.md) (CVPR'2021)\n- [x] [Oriented R-CNN](configs/oriented_rcnn/README.md) (ICCV'2021)\n- [x] [GWD](configs/gwd/README.md) (ICML'2021)\n- [x] [KLD](configs/kld/README.md) (NeurIPS'2021)\n- [x] [SASM](configs/sasm_reppoints/README.md) (AAAI'2022)\n- [x] [Oriented RepPoints](configs/oriented_reppoints/README.md) (CVPR'2022)\n- [x] [KFIoU](configs/kfiou/README.md) (arXiv)\n- [x] [G-Rep](configs/g_reppoints/README.md) (stay tuned)\n\n\u003c/details\u003e\n\n## Data Preparation\n\nPlease refer to [data_preparation.md](tools/data/README.md) to prepare the data.\n\n## FAQ\n\nPlease refer to [FAQ](docs/en/faq.md) for frequently asked questions.\n\n## Contributing\n\nWe appreciate all contributions to improve MMRotate. Please refer to [CONTRIBUTING.md](.github/CONTRIBUTING.md) for the contributing guideline.\n\n## Acknowledgement\n\nMMRotate is an open source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks. We wish that the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new methods.\n\n## Citation\n\nIf you use this toolbox or benchmark in your research, please cite this project.\n\n```bibtex\n@inproceedings{zhou2022mmrotate,\n  title   = {MMRotate: A Rotated Object Detection Benchmark using PyTorch},\n  author  = {Zhou, Yue and Yang, Xue and Zhang, Gefan and Wang, Jiabao and Liu, Yanyi and\n             Hou, Liping and Jiang, Xue and Liu, Xingzhao and Yan, Junchi and Lyu, Chengqi and\n             Zhang, Wenwei and Chen, Kai},\n  booktitle={Proceedings of the 30th ACM International Conference on Multimedia},\n  year={2022}\n}\n```\n\n## License\n\nThis project is released under the [Apache 2.0 license](LICENSE).\n\n## Projects in OpenMMLab\n\n- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab foundational library for computer vision.\n- [MIM](https://github.com/open-mmlab/mim): MIM installs OpenMMLab packages.\n- [MMClassification](https://github.com/open-mmlab/mmclassification): OpenMMLab image classification toolbox and benchmark.\n- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab detection toolbox and benchmark.\n- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab's next-generation platform for general 3D object detection.\n- [MMRotate](https://github.com/open-mmlab/mmrotate): OpenMMLab rotated object detection toolbox and benchmark.\n- [MMSegmentation](https://github.com/open-mmlab/mmsegmentation): OpenMMLab semantic segmentation toolbox and benchmark.\n- [MMOCR](https://github.com/open-mmlab/mmocr): OpenMMLab text detection, recognition, and understanding toolbox.\n- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab pose estimation toolbox and benchmark.\n- [MMHuman3D](https://github.com/open-mmlab/mmhuman3d): OpenMMLab 3D human parametric model toolbox and benchmark.\n- [MMSelfSup](https://github.com/open-mmlab/mmselfsup): OpenMMLab self-supervised learning toolbox and benchmark.\n- [MMRazor](https://github.com/open-mmlab/mmrazor): OpenMMLab model compression toolbox and benchmark.\n- [MMFewShot](https://github.com/open-mmlab/mmfewshot): OpenMMLab fewshot learning toolbox and benchmark.\n- [MMAction2](https://github.com/open-mmlab/mmaction2): OpenMMLab's next-generation action understanding toolbox and benchmark.\n- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab video perception toolbox and benchmark.\n- [MMFlow](https://github.com/open-mmlab/mmflow): OpenMMLab optical flow toolbox and benchmark.\n- [MMEditing](https://github.com/open-mmlab/mmediting): OpenMMLab image and video editing toolbox.\n- [MMGeneration](https://github.com/open-mmlab/mmgeneration): OpenMMLab image and video generative models toolbox.\n- [MMDeploy](https://github.com/open-mmlab/mmdeploy): OpenMMLab model deployment framework.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-mmlab%2Fmmrotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-mmlab%2Fmmrotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-mmlab%2Fmmrotate/lists"}