PSPNet-tensorflow icon indicating copy to clipboard operation
PSPNet-tensorflow copied to clipboard

The input images to train

Open smmdream opened this issue 7 years ago • 2 comments

hello chick: I find when I use the cityScapes dataset,I need to convert to get gtFine_labelTrainIds.png, the gtFine_labelTrainIds.png is created by _gt_polygons.json. now,I want to use PSPNet on other dataset,I have a question ,when I train the network,what is the format of gt_file_image,are these such as gtFine_labelTrainIds.png? or the color.png is OK?

smmdream avatar Nov 24 '17 14:11 smmdream

Hey @smmdream , I think you should preprocess the color.png first, and let the pixel value range from 0~num_classes, just like gtFine_labelTrainIds.png. If you use RGB value to train, it cannot converge.

hellochick avatar Nov 25 '17 07:11 hellochick

Thank you, @hellochick I'll try

smmdream avatar Nov 29 '17 05:11 smmdream