mcordts / cityscapesScripts

README and scripts for the Cityscapes Dataset
MIT License
2.16k stars 607 forks source link

How to open custom images in cityscapes Label Tool #142

Open SupriyaB1 opened 3 years ago

SupriyaB1 commented 3 years ago

I am executing cityscapesLabelTool.py file, and I have updated the path to the dataset, I am not getting error but images are not loading in tool,can you please help me to solve this issue.

RIFJo commented 2 years ago

This is a very late response, but i had the same question and figured out how to do it. So, for future reference:

waqarsqureshi commented 2 years ago

You can rename the images using Windows or Linux Explorer or Nautilius GUI by selecting all the images and rename with the suffix.

waqarsqureshi commented 2 years ago

This is for those who like to custom label the dataset with different names as given in cityscape.

C:\Users\waqar\Anaconda3\envs\cityscapesScripts\cityscapesscripts\annotation\cityscapesLabelTool.py at line 656 change the csPath = path to your custom dataset then on line 660 change the path to your custom groundTruth folder then on line 700 change the path to your custom Image folder The organisation of your custom data should be