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

Reproduce the mIoU for cityscapes #5

Open
Houssem-25 opened this issue Mar 31, 2021 · 1 comment
Open

Reproduce the mIoU for cityscapes #5

Houssem-25 opened this issue Mar 31, 2021 · 1 comment

Comments

@Houssem-25
Copy link

Houssem-25 commented Mar 31, 2021

Hello,
Thank you for making the code available.
I'm trying to reproduce the mIoU for cityscapes. I want to make sure how should I test the generated images using drn --ms.
What is the resolution when you calculate the mIoU using DRN ? do you upsample the genereted results before testing mIoU or downsample the labels?

Thanks again

@SushkoVadim
Copy link
Contributor

Hi,

We use the resolution equal to the size of generated images, which is 512x256 for cityscapes.
The images should be taken from the ./results/oasis_cityscapes/best/image/,, while the label maps should come as downsampled versions of the label maps (with nearest downsampling) from the dataset.

Alternatively, the label maps can be taken from ./results/oasis_cityscapes/best/label/, as they are already at correct resolution (in this case color images should be converted to 1 channel label maps, based on the colormap function).

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