DrSleep / tensorflow-deeplab-resnet

DeepLab-ResNet rebuilt in TensorFlow
MIT License
1.25k stars 429 forks source link

Script to convert .mat labels to .png #4

Closed nicolov closed 7 years ago

nicolov commented 7 years ago

Labels are distributed as .mat files in the current Augmented VOC tarball available at http://home.bharathh.info/pubs/codes/SBD/download.html

This PR adds a script to convert them to .png

nicolov commented 7 years ago

Nevermind, looking at the code it seems that you're expecting a 1-channel mask, so the dataset you have is not using the standard Pascal coloring.

DrSleep commented 7 years ago

Thanks for the code. Yes, the masks just contain the label indices without the colour map. The DeepLab FAQ covers this topic: http://ccvl.stat.ucla.edu/deeplab_faq/