Skip to main content

Introduction

MMRotate is an open-source toolbox for rotated object detection based on PyTorch.

The master branch works with PyTorch 2.0+.

https://user-images.githubusercontent.com/10410257/154433305-416d129b-60c8-44c7-9ebb-5ba106d3e9d5.MP4

Major Features
  • Support multiple angle representations

    MMRotate provides three mainstream angle representations to meet different paper settings.

  • Modular Design

    We decompose the rotated object detection framework into different components, which makes it much easy and flexible to build a new model by combining different modules.

  • Strong baseline and State of the art

    The toolbox provides strong baselines and state-of-the-art methods in rotated object detection.

What's New

Highlight

The VBTI development team is reviving MMLabs code, making it work with newer pytorch versions and fixing bugs. We are only a small team, so your help is appreciated.

We 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. Pre-trained models are here.

PWC PWC PWC

Task Dataset AP FPS(TRT FP16 BS1 3090)
Object Detection COCO 52.8 322
Instance Segmentation COCO 44.6 188
Rotated Object Detection DOTA 78.9(single-scale)/81.3(multi-scale) 121

v1.0.0rc1 was released in 30/12/2022:

  • Support RTMDet rotated object detection models. The technical report of RTMDet is on arxiv
  • Support H2RBox models. The technical report of H2RBox is on arxiv

Installation

Please refer to Installation for more detailed instruction.

Getting Started

Please see Overview for the general introduction of MMRotate.

For detailed user guides and advanced guides, please refer to our documentation:

We also provide colab tutorial Open in Colab.

To migrate from MMRotate 0.x, please refer to migration.

Model Zoo

Results and models are available in the README.md of each method's config directory. A summary can be found in the Model Zoo page.

Supported algorithms:

* Requires onedl-mmcv with ops support (mmcv.ops). Note: all detection models also require batched_nms from mmcv.ops at inference time — so you would probably need onedl-mmcv with ops. See the FAQ for installation instructions.

Data Preparation

Please refer to data_preparation.md to prepare the data.

FAQ

Please refer to FAQ for frequently asked questions.

Contributing

We appreciate all contributions to improve MMRotate. Please refer to CONTRIBUTING.md for the contributing guideline.

Acknowledgement

MMRotate 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 appreciate the Student Innovation Center of SJTU for providing rich computing resources at the beginning of the project. 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.

Citation

If you use this toolbox or benchmark in your research, please cite this project.

@inproceedings{zhou2022mmrotate,
  title   = {MMRotate: A Rotated Object Detection Benchmark using PyTorch},
  author  = {Zhou, Yue and Yang, Xue and Zhang, Gefan and Wang, Jiabao and Liu, Yanyi and
             Hou, Liping and Jiang, Xue and Liu, Xingzhao and Yan, Junchi and Lyu, Chengqi and
             Zhang, Wenwei and Chen, Kai},
  booktitle={Proceedings of the 30th ACM International Conference on Multimedia},
  pages = {7331–7334},
  numpages = {4},
  year={2022}
}

License

This project is released under the Apache 2.0 license.

Projects in VBTI-development

Metadata

Release files for onedl-mmrotate 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onedl-mmrotate 1.2.1
File Size Uploaded Provenance Actions
onedl_mmrotate-1.2.1.tar.gz 227.3 kB Without provenance Details for onedl_mmrotate-1.2.1.tar.gz

Release files / onedl_mmrotate-1.2.1.tar.gz

Download URL onedl_mmrotate-1.2.1.tar.gz
Size 227.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c75c8f6e3f047aaca6f01d5cf3ba300c46d00443e9e2c05687dea72a1ee858f6
BLAKE2b-256 checksum
How to use checksums
929d0d78043f1a078fe1ef270d57edf6d9567ff2f1a3a72d7b3b561d80d43403
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for onedl-mmrotate 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page