mmsegmentation/tools
zoulinxin 77591b9e7b
[Feature] Add GDAL backend and Support LEVIR-CD Dataset (#2903)
## Motivation

For support with reading multiple remote sensing image formats, please
refer to https://gdal.org/drivers/raster/index.html.

Byte, UInt16, Int16, UInt32, Int32, Float32, Float64, CInt16, CInt32,
CFloat32 and CFloat64 are supported for reading and writing.

Support input of two images for change detection tasks, and support the
LEVIR-CD dataset.

## Modification

Add LoadSingleRSImageFromFile in 'mmseg/datasets/transforms/loading.py'.
Load a single remote sensing image for object segmentation tasks.

Add LoadMultipleRSImageFromFile in
'mmseg/datasets/transforms/loading.py'.
Load two remote sensing images for change detection tasks.

Add ConcatCDInput  in 'mmseg/datasets/transforms/transforms.py'.
Combine images that have been separately augmented for data enhancement.

Add BaseCDDataset in 'mmseg/datasets/basesegdataset.py'
Base class for datasets used in change detection tasks.

---------

Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-05-08 20:09:33 +08:00
..
analysis_tools [Feature] Support calculating FLOPs of segmentors (#2706) 2023-03-10 19:25:47 +08:00
dataset_converters [Feature] Add GDAL backend and Support LEVIR-CD Dataset (#2903) 2023-05-08 20:09:33 +08:00
deployment [Refactor] Add pyupgrade pre-commit hook (#2078) 2022-09-19 14:06:29 +08:00
misc [Feature] Support auto import modules from registry. (#2481) 2023-02-23 20:33:17 +08:00
model_converters [Enhancement] Replace MMCV with MMEngine in convert model scripts (#1798) 2022-07-27 17:54:37 +08:00
torchserve [Fix]Remove modules from mmcv.runner and mmcv.utils (#1966) 2022-08-25 15:15:21 +08:00
dist_test.sh [Feature] Add multi machine `dist_train`. (#1383) 2022-03-18 10:55:49 +08:00
dist_train.sh [Enhancement] Delete seed in dist_train.sh (#1519) 2022-04-28 11:35:10 +08:00
slurm_test.sh init commit 2020-07-10 02:39:01 +08:00
slurm_train.sh init commit 2020-07-10 02:39:01 +08:00
test.py Fix typo in tools/test.py (#2961) 2023-05-05 11:30:07 +08:00
train.py [Fix] Fix accepting an unexpected argument `local-rank` in PyTorch 2.0 (#2812) 2023-03-30 16:43:15 +08:00