aimerykong / Recurrent-Scene-Parsing-with-Perspective-Understanding-in-the-loop

CVPR2018 - scene parsing network regulated by geometric prior
https://www.cs.cmu.edu/~shuk/recurrentDepthSeg.html
37 stars 7 forks source link

run demo_cityscapes error, help, thanks #5

Closed fireflychh closed 7 years ago

fireflychh commented 7 years ago

when I run the demo_cityscapes,thers is a error, I didn't use the matconvnet before, so I don't know what happend, help me, thanks. error is: Error using vl_nnconv An input is not a numeric array (or GPU support not compiled).

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 104) obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;

Error in demo_Cityscapes (line 177) netMat.eval(inputs) ;

aimerykong commented 7 years ago

Hi,

I guess you didn't compile the gpu version of matconvnet. Can you try to do this following the guide here ( http://www.vlfeat.org/matconvnet/install/) Basically you may just neet to vl_compilenn('enableGpu', true)

Hope this helps:)

On Fri, Aug 4, 2017 at 12:38 AM, fireflychh notifications@github.com wrote:

when I run the demo_cityscapes,thers is a error, I didn't use the matconvnet before, so I don't know what happend, help me, thanks. error is: Error using vl_nnconv An input is not a numeric array (or GPU support not compiled).

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 104) obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;

Error in demo_Cityscapes (line 177) netMat.eval(inputs) ;

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aimerykong/Recurrent-Scene-Parsing-with-Perspective-Understanding-in-the-loop/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AGKZJONkxNQ-7CmeOSDtUSnRp67D_TfGks5sUsprgaJpZM4OtYVS .