How to fix the following error in LightNet CNN model?

1 次查看(过去 30 天)
Hi,
I have the following error while I run the CNN model in LightNet. Please help me to fix it.
Undefined function or variable 'PADDING_MODE'.
Error in conv_layer_2d (line 57) if PADDING_MODE==1
Error in net_bp (line 39) [res(layer).dzdx, res(layer).dzdw,res(layer).dzdb,opts] = conv_layer_2d( res(layer).x,net.layers{layer}.weights{1},net.layers{layer}.weights{2},net.layers{layer}.stride,net.layers{layer}.pad,res(layer+1).dzdx,opts );
Error in select_learning_rate (line 59) [ net,res,opts ] = net_bp( net,res,opts );
Error in selective_sgd (line 13) [lr_best]=select_learning_rate(net,opts);
Error in train_net (line 26) [ net,opts ] = selective_sgd( net,opts );
Error in TrainingScript (line 46) [net,opts]=train_net(net,opts);
Error in Main_Template (line 128) TrainingScript();
Error in Main_MNIST_Conv_Capsules (line 30) Main_Template(); %call training template

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by