-
Notifications
You must be signed in to change notification settings - Fork 36
How to get the string labels for the segmentations? #3
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
Comments
Sorry for the inconvenience, I found the definitions in the tools.py file: I am going to write something to attach the labels to the image. |
hi @srcolinas |
I did, but to be honest I now think is an awful implementation, specially after I saw how they did it in google's deeplab implementation For some reason the output image did not contain the exact values I was using in the .csv file so I use the cv2.inRange() to create the masks. Anyway I am now trying to work with the DeepLab implementation found in here, so I did not try to polish my code. I hope my reply helps. |
your reply is more helpful and i will try to implement deeplab implementation but if you can send to me your edit of code to show labels with images i will be thankful to you |
Hi, I know for some semantic segmentation datasets one has a predefined set of labels. How can I get the labels corresponding to the segments (either attached to the image or in a dictionary for later use?
The text was updated successfully, but these errors were encountered: