image-segmentation-keras
image-segmentation-keras copied to clipboard
violating range [0, 1]. Found maximum pixel value 255 Dataset not verified!
I am working on satellite image segmentation, I am getting the following error

Looks like your annotation images are not pre-processed properly.
On Sat, Apr 24, 2021 at 8:47 AM LujainSmadi @.***> wrote:
I am working on satellite image segmentation, I am getting the following error [image: Screenshot from 2021-04-24 15-44-26] https://user-images.githubusercontent.com/67013108/115959307-4924a780-a514-11eb-85ba-35b167672137.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/divamgupta/image-segmentation-keras/issues/293, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAONR5I4JX4JSQ4CAUJT3TTTKK4VNANCNFSM43QDULWQ .
n_classes should be n_foreground_class+1(bg_class)
Got the same problem. It's maybe not the annotation but your annotation image pre-processing. Rescale your annotation image with OpenCv for example. You can use its inbuilt threshold method.