Thanks so much for sharing your code. I tried to use it and find two problems:
The slash in the path on Linux is different from Windows:
folderTest = 'testsets\Set12'; %%% test dataset
For "matconvnet" version later than 20, some modifications need to be made.
A bug " missing field 'dilate' in layers" shows up. I tried to fix this by using
net = vl_simplenn_tidy(net)
net = vl_simplenn_move(net,'gpu');
before
res = vl_simplenn(net,input,[],[],'conserveMemory',true,'mode','test');
Thanks so much for sharing your code. I tried to use it and find two problems:
before
Now it works.