@KFrank
Thank you very much for your prompt reply.
Then how about the inference.
Without Sigmoid, the out will be a random floating number may out of range [0, 1].
what should do to regulate the out to either 0 or 1 for each pixel when doing inference?
Thanks,