Remote-sensing-image-semantic-segmentation icon indicating copy to clipboard operation
Remote-sensing-image-semantic-segmentation copied to clipboard

对测试集数据的要求是什么,我用其他的图像测试出来都是一个蓝块,没有结果

Open hantong263 opened this issue 3 years ago • 6 comments

hantong263 avatar Oct 13 '20 02:10 hantong263

Same as the training dataset type

TachibanaYoshino avatar Nov 27 '20 13:11 TachibanaYoshino

Me too!!!do u solve this problem??

zhang-snowy avatar Aug 22 '22 10:08 zhang-snowy

Same as the training dataset type

How can other datasets be adjusted to the same format as the training set?

zhang-snowy avatar Aug 22 '22 11:08 zhang-snowy

Of course, you can adjust the palette and one-hot preprocessing of the dataset.

TachibanaYoshino avatar Aug 25 '22 13:08 TachibanaYoshino

当然,您可以调整数据集的调色板和 one-hot 预处理。

非常感谢您的回复!!!我直接跑的预测,用您的模型,发现是蓝色的,是因为one-hot 预处理不对吗?

zhang-snowy avatar Aug 25 '22 13:08 zhang-snowy

You need to make sure that your data is of the same category as my predefined category, and the palette is the same. For rivers and lakes, the processed colored semantic regions are blue. Please note that the output result of the network is the predicted segmentation map, and then according to the color of the palette corresponding to the fixed category number, the map of different color semantics is generated.

TachibanaYoshino avatar Aug 25 '22 14:08 TachibanaYoshino