tf_unet icon indicating copy to clipboard operation
tf_unet copied to clipboard

How to get output of a batch of input files

Open I-CANT-CODE opened this issue 6 years ago • 2 comments

Hello,

I am simplifying my question

I have images in a folder that I want to use my trained model on to segment. I am really confused on how to do this and have it output images. I would greatly appreciate any help.

I-CANT-CODE avatar Mar 07 '19 22:03 I-CANT-CODE

You can load your data using the same data provider mechanism - so you ensure that the same pre-processing steps are being applied

jakeret avatar Mar 10 '19 15:03 jakeret

ok, well once I load them and then use net.predict(), how can I then safely convert the batch of tensors to rob images and save them to image files? I tried doing this with my own code and got all black or all white images.

I-CANT-CODE avatar Mar 11 '19 16:03 I-CANT-CODE