CRST
CRST copied to clipboard
Problem when reading SYNTHIA labels
https://github.com/yzou2/CRST/blob/f7e4df0f9310d3a1ce583602a6a2064c4d7a6483/deeplab/datasets.py#L584
If you use this method to read SYNTHIA ground truth label, the output will be wrong.
And this should work
label = np.asarray(imageio.imread(datafiles["label"], format='PNG-FI'))[:,:,0]