Z-Zheng / ChangeStar

Change is Everywhere: Single-Temporal Supervised Object Change Detection in Remote Sensing Imagery (ICCV 2021) https://arxiv.org/abs/2108.07002
Apache License 2.0
163 stars 29 forks source link

[Feature] support [0~255] gt #17

Open seominseok0429 opened 2 years ago

seominseok0429 commented 2 years ago

The original dataset of LEVIR-CD consists of 0 and 255.

However, the segmentation loss of this code works only when it consists of 0 and 1.

Therefore, I added a code to change gt's 255 to 1.

Z-Zheng commented 2 years ago

Thanks for your PR! It has been handled by https://github.com/Z-Zheng/ChangeStar/blob/master/module/changestar_bisup.py#L35