Open Timo-hab opened 8 years ago
anyone know this?
Hi,
i didnt get this to work too. I just implemented my own nomenclature for the required Images, then you replace the "IMAGE_FILE" with your needed nomenclature string.
solved it for me.
Regards Stefan
Hi,
IMAGE_FILE is suppose to be replace by the path where you want to save the images. For example:
IMAGE_FILE = "path/to/predictions/'
Then just run the script and it will work.
Regards, Grarya
Hi @Grarya I have replaced the IMAGE_FILE by their path, but how should I define the name of the predicted results
Hi @HaoWumarz,
I have used the following command: scipy.misc.toimage(rgb, cmin=0.0, cmax=1).save(IMAGE_FILE+ str(i)+'_segnet.png') where: IMAGE_FILE is the path i: is from the for
The rest is up to you. Regards, Grarya
Hello @Grarya
Thank you! It solved for me.
Regard, Hao
Hi @HaoWumarz,
I have used the following command: scipy.misc.toimage(rgb, cmin=0.0, cmax=1).save(IMAGE_FILE+ str(i)+'_segnet.png') where: IMAGE_FILE is the path i: is from the for
The rest is up to you. Regards, Grarya
Thanks...It really helps
Hi,
it comes to that line: scipy.misc.toimage(rgb, cmin=0.0, cmax=255).save(IMAGE_FILE+'_segnet.png')
I get the error: IMAGE_FILE is not defined.
How can I get the names of the image files? Thank you in advance!