semisup-semseg icon indicating copy to clipboard operation
semisup-semseg copied to clipboard

save_output_images for cityscapes?

Open haiderasad opened this issue 3 years ago • 2 comments

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 avatar Mar 08 '21 09:03 haiderasad

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

haiderasad avatar Mar 09 '21 16:03 haiderasad

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

sud0301 avatar Apr 08 '21 15:04 sud0301