ayushdabra / dubai-satellite-imagery-segmentation

Multi-Class Semantic Segmentation on Dubai's Satellite Images.
GNU General Public License v3.0
78 stars 27 forks source link

output after prediction is not correct #3

Closed ma-siddiqui closed 1 year ago

ma-siddiqui commented 1 year ago

Hi,

I have run the predition on one of the image but predicted masks seeems to be wrong. please guide what could be the issue.

ma-siddiqui commented 1 year ago

sat_img_preds

ma-siddiqui commented 1 year ago

the output is attached

ayushdabra commented 1 year ago

Hi Ajmal, did you use the pre-trained weights for prediction?

ma-siddiqui commented 1 year ago

yes, it was my bad. i did not normlize the input data. after normalizing it, my issue solved. thanks.

jjaegii commented 1 year ago

@ma-siddiqui Can I ask you about the code for normalizing the input image?

ShaoshuSu commented 3 weeks ago

@ma-siddiqui Can I ask you about the code for normalizing the input image?

Hi @jjaegii ,

You could try img = img/255.0