JDAI-CV / FADA

(ECCV 2020) Classes Matter: A Fine-grained Adversarial Approach to Cross-domain Semantic Segmentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GTA5 generate_gta5_label_info.py

zhijiejia opened this issue · comments

In GTA5 dataset, the label is colored, RGB style. So I can't get the classID in GTA5 dataset, and how to translate GTA5 to Cityscape, make same object has same classID in both datasets. Do you how translate the RGB label to Gray label (I means the pixel value equals the classID)