You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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();
}
The text was updated successfully, but these errors were encountered:
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();
}
The text was updated successfully, but these errors were encountered: