Closed Robinxin123 closed 3 years ago
In the predict function, here, you can iterate through the batch of segmented images (the first dimension of the 4D Tensor), convert to numpy and then save them with matplotlib.pyplot.savefig
.
If it's still not clear, let me know and I'll try to give example code
thanks for the reply, I have already solved it.
hello, thanks for your nice work.
I got a question, how can I save all the test segmented images, not the the batch of them. I have checked the function predict and imshow_batch, but don't find the answer.
many thanks