UNetPlusPlus icon indicating copy to clipboard operation
UNetPlusPlus copied to clipboard

How can I modify the network code for the gray-scale image patches?

Open beargolden opened this issue 5 years ago • 2 comments

Hello, Zongwei, Thank you for your wonderful UNetPlusPlus project. I understand that the network expects input channels of 3. But if I would input a gray-scale image patch into the network, how should I modify the network code? Could you give me some advice? Thanks again and Merry Christmas!

beargolden avatar Dec 25 '19 04:12 beargolden

In my experience, you can simply assign the three channels to the same value.

Fairydetail avatar Dec 26 '19 14:12 Fairydetail

In my experience, you can simply assign the three channels to the same value.

Thanks, I made it, and created the network model by myself. Your solution should be working, but I have never tried.

beargolden avatar Dec 29 '19 01:12 beargolden