Open seominseok0429 opened 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.
Thanks for your PR! It has been handled by https://github.com/Z-Zheng/ChangeStar/blob/master/module/changestar_bisup.py#L35
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.