Closed 1451154 closed 6 years ago
I'm actually using an edited version of CamVid which is commonly used in research papers. With this different version, each pixel has an integer value of its class from 0 to 11 (CamVid had 12 classes at the time).
Though it does seem you found a flaw I shall fix! As the "one_hot_it" function in "helpers.py" won't currently work with those colour labels. I'll try and fix this ASAP!
Updated! It now works with the colour labels and thus the original CamVid dataset!
I'm actually using an edited version of CamVid which is commonly used in research papers. With this different version, each pixel has an integer value of its class from 0 to 11 (CamVid had 12 classes at the time).
Though it does seem you found a flaw I shall fix! As the "one_hot_it" function in "helpers.py" won't currently work with those colour labels. I'll try and fix this ASAP!
Hi George! I found in the "edited version of CamVid" the image and label has size of (320, 480) which is different from the origin size (720, 960). How did you solve this issue when you were using the "edited version of CamVid" for training and evaluation?
Thank you!
Thanks for your code!CamVid database's label is color image(RGB),but your train_labels、val_labels and test_labels are gray image。Can you tell me why you want to convert these annotated color images into grayscale images and how to convert them? This is your train_labels: This is CamVid' label: