NEURAL NETWORK AND DEEP LEARNING
WEEK 4 (B) - I’m facing errors in two-layer model and L-layer model, i’ve been trying since 2 weeks , would you please help me rectify the error. much thankful.
The following cell failed:
parameters, costs = two_layer_model(train_x, train_y, layers_dims = (n_x, n_h, n_y)...
print("Cost after first iteration: " + str(costs[0]))
two_layer_model_test(two_layer_model)
The error was:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-9-f9ec5304d38d> in <module>
----> 1 parameters, costs = two_layer_model(train_x, train_y, layers_dims = (n_x, n...
2
3 print("Cost after first iteration: " + str(costs[0]))
4
5 two_layer_model_test(two_layer_model)
ValueError: too many values to unpack (expected 2)