Merged
Conversation
Codecov ReportBase: 61.26% // Head: 80.19% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev-1.x #599 +/- ##
============================================
+ Coverage 61.26% 80.19% +18.93%
============================================
Files 95 95
Lines 6407 6407
Branches 903 903
============================================
+ Hits 3925 5138 +1213
+ Misses 2277 973 -1304
- Partials 205 296 +91
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
bcaf254 to
8152489
Compare
RangiLyu
reviewed
Nov 7, 2022
RangiLyu
reviewed
Nov 7, 2022
RangiLyu
reviewed
Nov 7, 2022
RangiLyu
reviewed
Nov 7, 2022
RangiLyu
reviewed
Nov 7, 2022
RangiLyu
reviewed
Nov 7, 2022
RangiLyu
reviewed
Nov 7, 2022
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog of v1.x
v1.0.0rc0 (7/11/2022)
We are excited to announce the release of MMRotate 1.0.0rc0.
MMRotate 1.0.0rc0 is the first version of MMRotate 1.x, a part of the OpenMMLab 2.0 projects.
Built upon the new training engine, MMRotate 1.x unifies the interfaces of dataset, models, evaluation, and visualization with faster training and testing speed.
Highlights
New engines. MMRotate 1.x is based on MMEngine, which provides a general and powerful runner that allows more flexible customizations and significantly simplifies the entrypoints of high-level interfaces.
Unified interfaces. As a part of the OpenMMLab 2.0 projects, MMRotate 1.x unifies and refactors the interfaces and internal logics of train, testing, datasets, models, evaluation, and visualization. All the OpenMMLab 2.0 projects share the same design in those interfaces and logics to allow the emergence of multi-task/modality algorithms.
New BoxType design. We support data structures RotatedBoxes and QuadriBoxes to encapsulate different kinds of bounding boxes. We are migrating to use data structures of boxes to replace the use of pure tensor boxes. This will unify the usages of different kinds of bounding boxes in MMDetection 3.x and MMRotate 1.x to simplify the implementation and reduce redundant codes.
Stronger visualization. We provide a series of useful tools which are mostly based on brand-new visualizers. As a result, it is more convenient for the users to explore the models and datasets now.
Breaking Changes
We briefly list the major breaking changes here.
We will update the migration guide to provide complete details and migration instructions.
Dependencies
mmcvis the version that provide pre-built CUDA operators andmmcv-litedoes not since MMCV 2.0.0rc0, whilemmcv-fullhas been deprecated.Training and testing
mmrotate.train.apisandtools/train.py. Those code have been migrated into MMEngine. Please refer to the migration guide of Runner in MMEngine for more details.HooktoParameter Schedulerin MMEngine. Please refer to the migration guide of Parameter Scheduler in MMEngine for more details.Configs
Dataset
The Dataset classes implemented in MMRotate 1.x all inherits from the BaseDataset in MMEngine.
Data Transforms
The data transforms in MMRotate 1.x all inherits from those in MMCV>=2.0.0rc2, which follows a new convention in OpenMMLab 2.0 projects.
The changes are listed as below:
Rotate) are decomposed into several transforms.Model
The models in MMRotate 1.x all inherits from
BaseModelin MMEngine, which defines a new convention of models in OpenMMLab 2.0 projects. Users can refer to the tutorial of model in MMengine for more details. Accordingly, there are several changes as the following:inputsanddata_samples, whereinputscontains model inputs like a list of image tensors, anddata_samplescontains other information of the current data sample such as ground truths and model predictions. In this way, different tasks in MMRotate 1.x can share the same input arguments, which makes the models more general and suitable for multi-task learning.forward_trainandsimple_testto deal with different model forward logics. In MMRotate 1.x and OpenMMLab 2.0, the forward function has three modes:loss,predict, andtensorfor training, inference, and tracing or other purposes, respectively. The forward function callsself.loss(),self.predict(), andself._forward()given the modesloss,predict, andtensor, respectively.Evaluation
MMRotate 1.x mainly implements corresponding metrics for each task, which are manipulated by Evaluator to complete the evaluation.
In addition, users can build evaluator in MMRotate 1.x to conduct offline evaluation, i.e., evaluate predictions that may not produced by MMRotate, prediction follows our dataset conventions. More details can be find in the Evaluation Tutorial in MMEngine.
Visualization
The functions of visualization in MMRotate 1.x are removed. Instead, in OpenMMLab 2.0 projects, we use Visualizer to visualize data. MMRotate 1.x implements
RotLocalVisualizerto allow visualization of ground truths, model predictions, and feature maps, etc., at any place. It also supports to dump the visualization data to any external visualization backends such as Tensorboard and Wandb.Improvements
Ongoing changes
tools/directory will have their python interfaces so that they can be used through notebook and in downstream libraries.Contributors
A total of 8 developers contributed to this release.
Thanks @DonggeunYu @k-papadakis @liuyanyi @yangxue0827 @jbwang1997 @zytx121 @RangiLyu @ZwwWayne