dgyoo / pa3

Recent image representation as PA3 of the computer vision class.
7 stars 0 forks source link

Is there anyone who can help me with vl_nnconv error? #6

Closed Jinwoo-Jeon closed 8 years ago

Jinwoo-Jeon commented 8 years ago

When I tried

vl_simplenn(net,im)

I encountered this error

Error using vl_nnconv An input is not a SINGLE array nor it is empty.

Error in vl_simplenn (line 193) res(i+1).x = vl_nnconv(res(i).x, l.weights{1}, l.weights{2}, ...

input val im is an array with size 224x224x3 Anyone have an idea?

BAILOOL commented 8 years ago

You need to make the image single. You can make it by im = single(im);

Jinwoo-Jeon commented 8 years ago

@BAILOOL Oh.. I couldn't get what single means there.. Thanks!