sdemyanov / ConvNet

Convolutional Neural Networks for Matlab for classification and segmentation, including Invariang Backpropagation (IBP) and Adversarial Training (AT) algorithms. Trained on GPU, require cuDNN v5.
240 stars 141 forks source link

Erron in complilation #29

Open HosnaCSE opened 8 years ago

HosnaCSE commented 8 years ago

Hello, I just trying to complile your code using CPU, but get the error as follows:

Error using genweights_mex Assertion Failed: In 'mexGetScalar' mx_array is not numeric

Error in genweights (line 4) weights = genweights_mex(layers, params);

Error in cnnexamples (line 82) weights = single(genweights(layers, params, funtype));

Can you help me to resolve this error?

YaoJUN94 commented 8 years ago

Hi can I know how u solve your problem??

HosnaCSE commented 8 years ago

I can't solve that........:(