cszn / FFDNet

FFDNet: Toward a Fast and Flexible Solution for CNN based Image Denoising (TIP, 2018)
https://ieeexplore.ieee.org/abstract/document/8365806/
469 stars 130 forks source link

Can't run the demo #21

Open yueyilia opened 5 years ago

yueyilia commented 5 years ago

I can't run the demo, because 'vl_simplenn_tidy' don‘t exist. And it seems that some functions don't exist too.

cszn commented 5 years ago

https://github.com/cszn/FFDNet/blob/0a04dbe7d8abe3288fcd41adf7a66d172a3e2c66/Demo_AWGN_Gray.m#L92

Remove the following if you did not install Matconvnet. net = vl_simplenn_tidy(net); and if useGPU net = vl_simplenn_move(net, 'gpu') ; end

malekkhammassi commented 5 years ago

Hello, I am trying to run the demo too and I did remove those parts of the code but I still got the following error; Undefined function or variable 'vl_argparse'. Error in vl_nnSubP (line 5) opts = vl_argparse(opts, varargin, 'nonrecursive') ; Error in vl_ffdnet_matlab (line 36) res(i+1).x = vl_nnSubP(res(i).x, [],'scale',l.scale); Error in Demo_AWGN_Gray (line 92) res = vl_ffdnet_matlab(net, input); % use this if you did not install matconvnet; very slow