dmorris0 / PyramidCNN

A Pyramid CNN for Dense-Leaves Segmentation
Other
17 stars 7 forks source link

[Eval error] #2

Closed Ostyk closed 4 years ago

Ostyk commented 4 years ago

Hi, I tried running your code after reading the awesome paper but I have run into an issue.

Which version of matconvnet-1 did you use? I got the latest from from here. I'm asking because this path `` /matlab/mex` does not exist in the release or any previous one that I looked at. Would be greatful for some tips.

Error in dagnn.Conv/forward (line 11)
      outputs{1} = vl_nnconv(...

Error in dagnn.Layer/forwardAdvanced (line 85)
      outputs = obj.forward(inputs, {net.params(par).value}) ;

Error in dagnn.DagNN/eval (line 91)
  obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;

Error in runNetEdges (line 85)
        net.eval( {'input', img } );

Error in scoreEdgeNetOnData (line 45)
edgelist = runNetEdges( net, imglist, edgefolder, doGPU, redoEdges, crop, averageScales );

Error in runLeafNet (line 55)
scoreEdgeNetOnData( plantNames, segNames, outfolder, minfrac, edgeRadius, net, doGPU, redoEdges, redoSegs , [], doAverage  );
dmorris0 commented 4 years ago

Sorry, it has been quite a while since I looked at the code. vl_nnconv mex file should be somewhere in your path.

Ostyk commented 4 years ago

OK, I managed to re-build matconvnet and it works now. As per instructions given here https://www.vlfeat.org/matconvnet/install/. P.S. also needed to download the bioinformatics toolbox.