image-segmentation-keras icon indicating copy to clipboard operation
image-segmentation-keras copied to clipboard

violating range [0, 1]. Found maximum pixel value 255 Dataset not verified!

Open LujainSmadi opened this issue 4 years ago • 3 comments
trafficstars

I am working on satellite image segmentation, I am getting the following error Screenshot from 2021-04-24 15-44-26

LujainSmadi avatar Apr 24 '21 12:04 LujainSmadi

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 .

divamgupta avatar Apr 24 '21 16:04 divamgupta

n_classes should be n_foreground_class+1(bg_class)

shankrmahadevan avatar Jun 25 '21 13:06 shankrmahadevan

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.

momoai96 avatar Dec 06 '21 13:12 momoai96