Open Alagirl opened 4 years ago
when I train the cityspace dataset,I need to resize image into (512,256,3).But the label value changed after I use cv2.resize function with nearest mode.How can I resize the label image in a right way?
which interpolation method did you use? Nearest neighbor interpolation should work for resizing of the mask without changing the pixel values
when I train the cityspace dataset,I need to resize image into (512,256,3).But the label value changed after I use cv2.resize function with nearest mode.How can I resize the label image in a right way?