mmsegmentation/tests
luomaoling ae78cb9d53
[Feature] Support mmseg with NPU backend. (#2768)
## Motivation

Added ascending device support in mmseg.

## Modification

The main modification points are as follows:
We added an NPU device in the DDP scenario and DP scenario when using
the NPU.

## BC-breaking (Optional)

None

## Use cases (Optional)

We tested
[fcn_unet_s5-d16_4x4_512x1024_160k_cityscapes.py](https://github.com/open-mmlab/mmsegmentation/blob/master/configs/unet/fcn_unet_s5-d16_4x4_512x1024_160k_cityscapes.py)
.
2023-03-23 19:42:49 +08:00
..
data [Feature] Support iSAID aerial dataset. (#1115) 2022-02-17 19:07:32 +08:00
test_apis [Enhancement] Revise pre-commit-hooks (#1315) 2022-02-23 23:44:27 +08:00
test_core [Enhancement]Revise docstring and UT for layer decay LR (#1540) 2022-05-01 13:13:53 +08:00
test_data [Feature] Add albu transform (#2710) 2023-03-23 14:35:53 +08:00
test_models [Feature] Add albu transform (#2710) 2023-03-23 14:35:53 +08:00
test_utils [Feature] Support mmseg with NPU backend. (#2768) 2023-03-23 19:42:49 +08:00
__init__.py [Dcos] Add header for files (#796) 2021-08-16 23:16:55 -07:00
test_config.py [Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
test_digit_version.py [Dcos] Add header for files (#796) 2021-08-16 23:16:55 -07:00
test_eval_hook.py [Refactor] Support progressive test with fewer memory cost (#709) 2021-08-19 20:44:58 -07:00
test_inference.py [Dcos] Add header for files (#796) 2021-08-16 23:16:55 -07:00
test_metrics.py [Fix]Fix the deprecation of np.float and fix ci configuration (#2451) 2023-01-11 13:59:27 +08:00
test_sampler.py [Fix] Change `self.loss_decode` back to `dict` in Single Loss situation. (#1002) 2021-11-01 15:28:37 +08:00