Spaces:
Sleeping
Sleeping
Commit ·
0ea6e8a
0
Parent(s):
first commit
Browse files- .gitattributes +5 -0
- .gitignore +30 -0
- README.md +62 -0
.gitattributes
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.DS_Store
|
| 2 |
+
__pycache__
|
| 3 |
+
.idea
|
| 4 |
+
checkpoints/
|
| 5 |
+
checkpoints2/
|
| 6 |
+
checkpoints*/
|
| 7 |
+
results/
|
| 8 |
+
build/
|
| 9 |
+
tmp/
|
| 10 |
+
vis/
|
| 11 |
+
*.png
|
| 12 |
+
*.jpg
|
| 13 |
+
*.pth
|
| 14 |
+
*/*.pth
|
| 15 |
+
*/*/*.pth
|
| 16 |
+
*/*.png
|
| 17 |
+
*/*/*.png
|
| 18 |
+
torch.egg-info/
|
| 19 |
+
*/**/__pycache__
|
| 20 |
+
docs/src/**/*
|
| 21 |
+
*/*.pyc
|
| 22 |
+
*/**/*.pyc
|
| 23 |
+
*/**/**/*.pyc
|
| 24 |
+
*/**/**/**/*.pyc
|
| 25 |
+
*/**/**/**/**/*.pyc
|
| 26 |
+
*/*.so*
|
| 27 |
+
*/**/*.so*
|
| 28 |
+
*/**/*.dylib*
|
| 29 |
+
*~
|
| 30 |
+
models/pretrain
|
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Remote Sensing Image Change Detection with Transformers
|
| 2 |
+
|
| 3 |
+
Here, we provide the pytorch implementation of the paper: Remote Sensing Image Change Detection with Transformers.
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
Code is coming soon~~
|
| 8 |
+
|
| 9 |
+
## Requirements
|
| 10 |
+
|
| 11 |
+
Python 3.6
|
| 12 |
+
pytorch 1.6.0
|
| 13 |
+
torchvision 0.7.0
|
| 14 |
+
einops 0.3.0
|
| 15 |
+
pthflops
|
| 16 |
+
|
| 17 |
+
## Installation
|
| 18 |
+
|
| 19 |
+
Clone this repo:
|
| 20 |
+
|
| 21 |
+
```shell
|
| 22 |
+
git clone https://github.com/justchenhao/BIT_CD.git
|
| 23 |
+
cd BIT_CD
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## Quick Start
|
| 27 |
+
|
| 28 |
+
## Train
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
## Test
|
| 33 |
+
|
| 34 |
+
## Dataset Preparation
|
| 35 |
+
|
| 36 |
+
LEVIR-CD: https://justchenhao.github.io/LEVIR/
|
| 37 |
+
|
| 38 |
+
WHU-CD: https://study.rsgis.whu.edu.cn/pages/download/building_dataset.html
|
| 39 |
+
|
| 40 |
+
DSIFN-CD: https://github.com/GeoZcx/A-deeply-supervised-image-fusion-network-for-change-detection-in-remote-sensing-images/tree/master/dataset
|
| 41 |
+
|
| 42 |
+
## License
|
| 43 |
+
|
| 44 |
+
Code is released for non-commercial and research purposes **only**. For commercial purposes, please contact the authors.
|
| 45 |
+
|
| 46 |
+
## Citation
|
| 47 |
+
|
| 48 |
+
If you use this code for your research, please cite our paper:
|
| 49 |
+
|
| 50 |
+
```
|
| 51 |
+
@Article{chen2021a,
|
| 52 |
+
title={Remote Sensing Image Change Detection with Transformers},
|
| 53 |
+
author={Hao Chen, Zipeng Qi and Zhenwei Shi},
|
| 54 |
+
year={2021},
|
| 55 |
+
journal={IEEE Transactions on Geoscience and Remote Sensing},
|
| 56 |
+
volume={},
|
| 57 |
+
number={},
|
| 58 |
+
pages={1-14},
|
| 59 |
+
doi={}
|
| 60 |
+
}
|
| 61 |
+
```
|
| 62 |
+
|