- Notifications
You must be signed in to change notification settings - Fork0
1st place solution to the Satellite Remote Sensing Image Change Detection Challenge hosted by SenseTime
License
Chuan-shanjia/A-loss-function-for-change-detection
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Accepted for publication atIGARSS-22, Kuala Lumpur, Malaysia.
Here, we provide the pytorch implementation of the paper: UAL: UNCHANGED AREA LOSS-FUNCTION FOR CHANGE DETECTION NETWORKS.
Given two images of the same scene acquired at different times, we are required to mark the changedand unchanged areas. Moreover, as for the changed areas, we need to annotate their detailed semantic masks.
The change detection task in this competition can be decomposed into two sub-tasks:
- binary segmentation of changed and unchanged areas.
- semantic segmentation of changed areas.
In this project,we propose a loss function named UAL-function (Unchanged Area Loss-function). UAL aims to establish the semantic label correspondence within unchanged regions. It is simple and effective for improving semantic segmentation and change detection with respect to the feature separability.
We also reproductFC-Siam-conc and change the code to accomplish two sub-tasks.
We compare our models withFC-Siam-conc andDTCDSCN
Description |Download [password: f3qq]
resnet-18 |resnet-34 |resnet-50
fcn-resnet18 |fcn-resnet34 |pspnet-resnet18 |pspnet-resnet34
# store the whole dataset and pretrained backbonesmkdir -p data/dataset ; mkdir -p data/pretrained_models ;# store the trained modelsmkdir -p outdir/models ; # store predictions of validation set and testing setmkdir -p outdir/masks/val/im1 ; mkdir -p outdir/masks/val/im2 ;mkdir -p outdir/masks/test/im1 ; mkdir -p outdir/masks/test/im2 ;├── data ├── dataset # download from the link above │ ├── train # training set | | ├── im1 | | └── ... │ └── val # the final testing set (without labels) | └── pretrained_models ├── resnet18.pth ├── resnet34.pth └── ...# Please refer to utils/options.py for more arguments# If hardware supports, more backbones can be trained, such as resnet50, resnet101CUDA_VISIBLE_DEVICES=0,1,2,3 python train.py --backbone "resnet18" --pretrained --model "fcn"# Modify the backbones, models and checkpoint paths in L39-44 in test.py manually according to your saved models# Or simply use our final trained modelsCUDA_VISIBLE_DEVICES=0,1,2,3 python test.py```About
1st place solution to the Satellite Remote Sensing Image Change Detection Challenge hosted by SenseTime
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- Python100.0%
