mmsegmentation/tests
Miao Zheng 5f4360bc0c
[Fix]Fix the deprecation of np.float and fix ci configuration (#2451)
## Motivation

1. numpy from 1.24 deprecated the aliases np.object, np.bool, np.float,
np.complex, np.str, and np.int
https://numpy.org/devdocs/release/1.24.0-notes.html

2. timm needs to pytorch>=1.7, so ignore test timm in pytorch 1.5 and
1.6

3. Remove install pillow as it doesn't test torchvision < 0.5

## Modification

1. np.float->np.float32
 
2. torch >= '1.7.0' -> matrix.torch != '1.5.1+cu101' && matrix.torch !=
'1.6.0+cu101' (as '1.10' < '1.7'

3. Remove install pillow
2023-01-01 21:56:58 +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 [Enchance] support infererence with padding (#1607) 2022-06-15 11:28:09 +08:00
test_models [Fix] Fix binary segmentation when `num_classes==1` (#2016) 2022-09-08 14:43:21 +08:00
test_utils [Fix] Fix ddp ut (#2060) 2022-09-13 13:08:44 +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-01 21:56:58 +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