0
scipy.misc.toimage(rgb, cmin=0.0, cmax=255).save(IMAGE_FILE+'_segnet.png')

In the file test_segmentation_camvid, how should I define the IMAGE_FILE and save the prediction results?

eesiraed
  • 4,626
  • 4
  • 16
  • 34
haowu
  • 1
  • 1

1 Answers1

0

IMAGE_FILE is just a variable that would be the name of the saved image you can do something like

IMAGE_FILE="new_image"
scipy.misc.toimage(rgb, cmin=0.0, cmax=255).save(IMAGE_FILE+'_segnet.png')

and the image that would be saved will be under the name new_image_segnet.png

Eliethesaiyan
  • 2,327
  • 1
  • 22
  • 35