Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Script to convert .mat labels to .png #4

Closed
wants to merge 1 commit into from

Conversation

nicolov
Copy link

@nicolov nicolov commented Jan 7, 2017

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

Labels are distributed as .mat files in the current Augmented VOC tarball available at http://home.bharathh.info/pubs/codes/SBD/download.html
@nicolov nicolov mentioned this pull request Jan 7, 2017
@nicolov
Copy link
Author

nicolov commented Jan 7, 2017

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
Copy link
Owner

DrSleep commented Jan 8, 2017

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/

@DrSleep DrSleep closed this Jan 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants