can't use cityScapesViewer.py
See original GitHub issueHello,
I was trying the cityScapesViewer by python cityScapesViewer.py
and was able to start up the UI and select a folder for display. But then no image was shown in the UI. Am I missing something?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Python display help - ProgramCreek.com
This page shows Python code examples for display help. ... Try using the module search function, or "help" to view a list of...
Read more >os.path.normpath Example - Program Talk
Learn how to use python api os.path.normpath. ... "store") is specified and it cannot be found in the current local directory, then look...
Read more >Pyqt/Pyside Opengl Widget Overlay - ADocLib
cityscapesapi/cityscapesscripts/viewer/cityscapesViewer.py. ... for widgets we can use an opaque background brush Qt won't need to recompose the background.
Read more >can't run swig tutorial for python - Stack Overflow
I have tried to no avail to run swig python tutorial, I have checked many similar questions but none solves my issue, I...
Read more >Cityscapes Dataset - Jiarui's Blog
viewer/cityscapesViewer.py 查看图像并覆盖注释。 ... However, if the boundary between such instances cannot be clearly seen, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So this was fixed by using Qt5, switching a lot of the QtGui to QtWidgets (as needed, when the script threw errors), and downloading the proper datasets.
Also, Qt5 viewer will crash if you scroll with your cursor on top of the application, so don’t do that. Turns out we needed both the gtFineTrainValTest & the leftImg8BitTrainValTest dataset in order to view the images properly.
You should either move the scripts to
/home/zhengzibing/cityscapes/
or put them where ever you like and make sure to have the environment variable set to the Cityscapes path, i.e.export CITYSCAPES_DATASET=/home/zhengzibing/cityscapes/