mseg-dataset / mseg-api

An Official Repo of CVPR '20 "MSeg: A Composite Dataset for Multi-Domain Segmentation"
Other
249 stars 45 forks source link

Final taxonomy #4

Closed orsic closed 4 years ago

orsic commented 4 years ago

Hello,

thank you for interesting work.

I have a question regarding the final class name -> id mapping. How can one obtain such mapping using the mseg-api? Are the label IDs sorted alphabetiaclly according to the universal column?

johnwlambert commented 4 years ago

Hi @orsic , thanks very much for your interest in our work. For training and test dataset taxonomies, class indices come from the order in which they appear in the mseg/dataset_lists// _names.txt file (see here ).

For the universal taxonomy, we use the row index in the master tsv (just added this function ). Let me know if I can clear anything else up.