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

save_output_images for cityscapes? #14

Open
haiderasad opened this issue Mar 8, 2021 · 2 comments
Open

save_output_images for cityscapes? #14

haiderasad opened this issue Mar 8, 2021 · 2 comments

Comments

@haiderasad
Copy link

if args.save_output_images:
if args.dataset == 'pascal_voc':
filename = os.path.join(args.save_dir, '{}.png'.format(name[0]))
color_file = Image.fromarray(colorize(output).transpose(1, 2, 0), 'RGB')
color_file.save(filename)
elif args.dataset == 'pascal_context':
filename = os.path.join(args.save_dir, filename[0])
scipy.misc.imsave(filename, gt)

why the results of cityscapes evaluation not saved?

@haiderasad
Copy link
Author

also kindly tell why we use VOC_30000 for evaluation and not VOC_40000?

@sud0301
Copy link
Owner

sud0301 commented Apr 8, 2021

It is just an example script. You would need to find a suitable checkpoint using a validation set.

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