cszn/FFDNet

Can't run the demo

yueyilia opened this issue · 2 comments

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

% res = vl_ffdnet_matlab(net, input); % use this if you did not install matconvnet; very slow

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

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