Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to fix the bug in conv_2d. file regarding PADDING_MODE? #4

Open
farhadmath opened this issue Sep 24, 2018 · 0 comments
Open

How to fix the bug in conv_2d. file regarding PADDING_MODE? #4

farhadmath opened this issue Sep 24, 2018 · 0 comments

Comments

@farhadmath
Copy link

The error is still now in LightCapsNet. Please help me to fix the bug or update the conv_2d. file in LightCapsNet.

Please help me to fix the following bug in LightCapsNet:
Undefined function or variable
'PADDING_MODE'.

Error in conv_layer_2d (line 60)
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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant