Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Program error #2

Open
zane-star-bot opened this issue Jun 26, 2019 · 0 comments
Open

Program error #2

zane-star-bot opened this issue Jun 26, 2019 · 0 comments

Comments

@zane-star-bot
Copy link

The software platform is matlab r2016.
Running files:demo_two_layer_neuralnet。
The following error prompt appears:
{
Incorrect use +
The matrix dimensions must be consistent.
Error affine/forward (line 53)
             Out = obj.x * obj.W + obj.b;

Error two_layer_net/predict (line 152)
                 x = obj.layer_manager.layers{idx}.forward(x);

Error two_layer_net/loss_partial (line 141)
             y = obj.predict(x_curr_batch);

Error two_layer_net/loss (line 125)
             f = loss_partial(obj, 1:obj.samples);

Error nn_trainer/train (line 162)
             Loss = obj.network.loss();

Error demo_two_layer_neuralnet (line 27)
Info = trainer.train();
}

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

No branches or pull requests

1 participant