mcordts / cityscapesScripts

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

How to use the installed cityscapesScripts module? #134

Closed Bjoux2 closed 4 years ago

Bjoux2 commented 4 years ago

how to use the tools like csDownload, csViewer of the installed module?

for example, I tried:

'csDownload cityscapes'

No doubt, it doesn't work

Bjoux2 commented 4 years ago

besides, I downloaded the gtFine dataset manually, I tried: csViewer .../berlin...png or csViewer .../berlin...json, and it doesn't work too.

ncgaehle commented 4 years ago

Set your environment variable CITYSCAPES_DATASET to the path of the dataset and then run csViewer. https://github.com/mcordts/cityscapesScripts/blob/master/cityscapesscripts/viewer/cityscapesViewer.py#L1404