mmclassification/tests
Ma Zerun 6fba107840
[Refactor] Use context manager to reuse matplotlib figures. (#432)
* Add `BaseImshowContextmanager` and `ImshowInfosContextManager` to reuse
matplotlib figure.

* Use context manager to implement `imshow_infos`

* Add unit tests.

* More general base context manager.

* unit tests for context manager.

* Improve docstring.

* Fix context manager exit cannot close figure when matplotlib>=3.4.0

* Fix unit tests

* Support inline backend in visualization.
2021-09-30 13:59:27 +08:00
..
data [Enhance] Improve downstream repositories compatibility (#421) 2021-09-08 10:38:57 +08:00
test_data [Enhance] Add `hparams` argument in `AutoAugment` and `RandAugment` and some other improvement. (#398) 2021-08-24 18:15:54 +08:00
test_downstream [Enhance] Improve downstream repositories compatibility (#421) 2021-09-08 10:38:57 +08:00
test_metrics [Feature] Support classwise weight in losses (#388) 2021-08-31 10:44:12 +08:00
test_models [Feature] Add RepVGG backbone and checkpoints. (#414) 2021-09-29 11:06:23 +08:00
test_runtime [Docs] Add Copyright information. (#413) 2021-08-17 19:52:42 +08:00
test_utils [Refactor] Use context manager to reuse matplotlib figures. (#432) 2021-09-30 13:59:27 +08:00