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

the drn code #3

Open
veroveroxie opened this issue Mar 31, 2022 · 2 comments
Open

the drn code #3

veroveroxie opened this issue Mar 31, 2022 · 2 comments

Comments

@veroveroxie
Copy link

Hi, could you please release the DRN code for your evaluation?

I tried to clone the official drn code but I'm not sure how to test my generated images. The official code seems to use label image rather than our RGB images in the testB directory. How did you resize the images?

Best

@WeilunWang
Copy link
Owner

Hi,

Thank you for your interest.

We test mIOU and Acc by replacing the ground-truth images with generated images at the original cityscapes dataset, keeping images on 128 x 256 resolution and labels on 1024 x 2048 resolution.
During testing, we resize the labels and images to 128 x 256 resolution with the following code:

dataset = SegListMS(data_dir, phase, transforms.Compose([ transforms.Resize([128, 256]), transforms.ToTensor(), normalize, ]), scales, list_dir=args.list_dir)

Best,
Weilun

@Lucky0775
Copy link

Hi, could you please release the DRN code for your evaluation?

I tried to clone the official drn code but I'm not sure how to test my generated images. The official code seems to use label image rather than our RGB images in the testB directory. How did you resize the images?

Best

hi,did you reproudce the results by the DRN code?

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

3 participants