This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Make cityscapes binarymask config consistent to polygon config #1214
+7
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I notice that maskrcnn will throw error when running with Cityscapes' binarymask config.
However, maskrcnn_benchmark could run with the polygon config succefully. I think the reason is that to reuse the Cityscapes evaluation toolkit, we have to include 'caravan' and 'trailer' in the training classes. Thus, to make maskrcnn could run smoothly with Cityscapes binarymask config, I change the NUM_CLASSES from 9 to 11 and make the experiment setting consistent to the polygon config.
With the changes in the commit, I could train maskrcnn with binarymask config successfully now.