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

Cityscapes classes? #27

Closed
DRosemei opened this issue May 10, 2019 · 1 comment
Closed

Cityscapes classes? #27

DRosemei opened this issue May 10, 2019 · 1 comment

Comments

@DRosemei
Copy link

Thanks for your code. I find that there are 30 classes according to their official introduction,while there are 34 classes in ~deeplabv3plus-pytorch/lib/datasets/CityscapesDataset.py. So should I set the self.MODEL_NUM_CLASSES = 30 or self.MODEL_NUM_CLASSES = 30 + 1(background)? I don't know whether to add 1 background.
In my results backgropud scores 0 when I set self.MODEL_NUM_CLASSES = 34 and I do not change CityscapesDataset.py. My GPU resources are limited, so could you help me with this question?
捕获

@DRosemei
Copy link
Author

I have found answer in test.py. I'll try it as you replyed in #5

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

1 participant