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

It uses the NYU pre-training model to verify the semantic segmentation effect on the Replica dataset #46

Open
jmwang0117 opened this issue Sep 10, 2022 · 1 comment

Comments

@jmwang0117
Copy link

Appreciating your excellent work !!!
In order to perform semantic segmentation on my Replica dataset using your pre-trained model from NYU, I have run into a few issues. I would appreciate your assistance and response.
The Replica dataset contains 900 images and 88 class labels. I changed the files under the nyuv2 data with the RGB, labels_88, and labels_88_colored files from Replica. The program displays an error when I run it.
How can I change the program so that it can adapt to the new dataset, even if some classes won't be split, since the class specified in your program is 40 and mine is 88? ?

image
image

@danielS91
Copy link
Member

danielS91 commented Sep 17, 2022

Looks like that you did not change the number of classes or did not adapted the colormaps.
I would recommend to create a new dataset class instead of changing the existing NYUv2 class - see our abstract base class for further details and function/properties that need to implemented in a derived class.
However, if your dataset provides annotations for multiple tasks, I would recommend our follow-up work as starting point.

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