Skip to content

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

@farhadmath

Description

@farhadmath

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions