Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get (class) label IDs or train IDs for evaluation with cityscapes-scripts #60

Open
ga84 opened this issue Apr 3, 2019 · 1 comment

Comments

@ga84
Copy link

ga84 commented Apr 3, 2019

If anyone has found a way to do this, could you please give me a hint? I guess there's simpler way than writing script to convert RGB segmentation output into these IDs (that could get complicated, since some classes have the same RGB -e.g. pole and pole group).

I tried to solve the problem with this code by getting IDs as: IDs = sess.run(raw_output_up) and then saving them, however this outputs an image with numbers which don't represent neither train IDs, nor class labels (numbers up to 255, but don't fit to these two IDs)....
@jiaxinxie97 @Jason-xin @MichaelX99 @hellochick
Thank you!

@LbinB
Copy link

LbinB commented Jun 1, 2019

Did you solve this problem? I met the same problem too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants