The remote sensing image semantic segmentation repository based on tf.keras includes backbone networks such as resnet, densenet, mobilenet, and segmentation networks such as deeplabv3+, pspnet, panet, and segnet.
This repository has been used to participate in the remote sensing semantic image segmentation track of the 2020 National Artificial Intelligence Competition (NAIC).
class | label |
---|---|
Water | 100 |
Transportation | 200 |
Building | 300 |
Arable land | 400 |
Grassland | 500 |
Woodland | 600 |
Bare soil | 700 |
Others | 800 |
- python 3.7
- tensorflow-gpu 2.3
- opencv-python
- tqdm
- numpy
- argparse
- matplotlib
- Pillow
data
python split_val_data_from_train.py
Modify the config.py file
python train.py --model DeepLabV3Plus --backBone ResNet152 --lr_scheduler cosine_decay --lr_warmup True
python predict.py
MIou, FWIou
The inference result image is in the results folder