DAN icon indicating copy to clipboard operation
DAN copied to clipboard

Image in greyscale : 1-Channel training and testing

Open RJhuboo opened this issue 3 years ago • 1 comments

Hello,

Thank you for this implementation. I would like to train DAN on my own dataset which is in greyscale. So I created a new yml file in options and I set color option to grey. However weight are still of the size [nbkernel, 3, kernelsize, kernelsize] instead of [nbkernel, 1, kernelsize, kernelsize]. Can't we change the number of channel of the weights ? and How ?

Thank you a lot.

RJhuboo avatar Nov 10 '21 13:11 RJhuboo

You need to change the architecture of DAN at the same time. When the Restorer and Estimator are created, you need to set in_nc=1

greatlog avatar Dec 09 '21 02:12 greatlog