mcordts / cityscapesScripts

README and scripts for the Cityscapes Dataset
MIT License
2.19k stars 608 forks source link

How to use the script? #73

Closed herleeyandi closed 5 years ago

herleeyandi commented 5 years ago

Hello I am stuck with the TrainIds as mention in this dataset as mention in here and after I read some issues I just realized that we need to convert the labels to 20 classes before training. Now my question is suppose I have clone this repository and try to run this script csCreateTrainIdLabelImgs where should I placed gtFine folder?, it always said folder not found. I still confuse where should put it?

herleeyandi commented 5 years ago

Sorry my bad I just found it by fixing the path in the csCreateTrainIdLabelImgs script. Change to this: Line 36 : cityscapesPath = os.path.join(os.path.dirname(os.path.realpath(__file__)),'') comment line 48 and uncomment line 49 since I just want to use gtFine. and put the gtFine inside the cityscapesScripts folder.