question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't use cityScapesViewer.py

See original GitHub issue

Hello,

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:closed
  • Created 6 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ngundotracommented, Jan 11, 2018

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.

2reactions
mcordtscommented, Sep 2, 2017

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/

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found