cszn / DnCNN

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

Reference to non-existent field 'dilate', matconvnet 1.0-beta25 #11

Closed ngcthuong closed 7 years ago

ngcthuong commented 7 years ago

Hi, I got this error when running Demo_test_DnCNN.m with Matlab 2017a, matconvnet 1.0-beta25, Window 10. The details are

Reference to non-existent field 'dilate'.

Error in vl_simplenn (line 303) 'dilate', l.dilate, ...

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

Any idea to fix this? Thank you.

cszn commented 7 years ago

Remove the "%" in "% net = vl_simplenn_tidy(net);"

xiaofeiwu commented 7 years ago

Need to compile matconvnet for GPU

ZeeDeep commented 6 years ago

you should put the below given command before res=vl_simplenn(parameters);

net = vl_simplenn_tidy(net);
Note:The above given single command will upgrade the model according to MatConvNet's current version.which will solve the issue I hope it will be the solution

mehdirezaei1987 commented 5 years ago

Hi everyone can anyone solve this problem? I have this problem too.

mehdirezaei1987 commented 5 years ago

you should put the below given command before res=vl_simplenn(parameters);

net = vl_simplenn_tidy(net); Note:The above given single command will upgrade the model according to MatConvNet's current version.which will solve the issue I hope it will be the solution

hello i have this problem but unfortunately dont solve with adding net = vl_simplenn_tidy(net)

mehdirezaei1987 commented 5 years ago

Hi, I got this error when running Demo_test_DnCNN.m with Matlab 2017a, matconvnet 1.0-beta25, Window 10. The details are

Reference to non-existent field 'dilate'. Error in vl_simplenn (line 303) 'dilate', l.dilate, ... Error in Demo_test_DnCNN (line 64) res = vl_simplenn(net,input,[],[],'conserveMemory',true,'mode','test');

Any idea to fix this? Thank you.

hello can u solve y\this problem can you help me to solve thank you.

DIPTIMISHRA commented 5 years ago
I got the same error when run Demo_compression.m

Reference to non-existent field 'dilate'. Error in vl_simplenn (line 303) 'dilate', l.dilate, ...

Error in Demo_compression (line 48)
res = vl_simplenn(net1,label,[],[],'conserveMemory',true,'mode','test');

Can anyone help me to solve this issue? Any help is appreciable

nehavjetgond commented 4 years ago

Hi, I got this error when running demo.m with Matlab 2019a, vlfeat-matconvnet Window 10. The details are Reference to non-existent field 'dilate'.

Error in vl_simplenn (line 303) 'dilate', l.dilate, ...

Error in Untitled4 (line 29) res=vl_simplenn(net,h_in); please can u help me with this