cszn / DnCNN

Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising (TIP, 2017)
https://cszn.github.io/
1.45k stars 536 forks source link

Error in Demo_test_DnCNN_C (line 57) #43

Closed SufianIrshad closed 6 years ago

SufianIrshad commented 6 years ago

Solution please

Error using vl_nnconv The FILTERS depth does not divide the DATA depth.

Error in vl_simplenn (line 97) res(i+1).x = vl_nnconv(res(i).x, l.weights{1}, l.weights{2}, ...

Error in Demo_test_DnCNN_C (line 57) res = vl_simplenn(net,input,[],[],'conserveMemory',true,'mode','test');

capture

cszn commented 6 years ago

The input should be a color image.

SufianIrshad commented 6 years ago

Problem solved. thank you i have changed the data set from BSD68 to LIVE1.