I am getting this error;
IndexError Traceback (most recent call last)
in
1 parameters, costs = L_layer_model(train_x, train_y, layers_dims, num_iterations = 1, print_cost = False)
2
----> 3 print("Cost after first iteration: " + str(costs[0]))
4
5 L_layer_model_test(L_layer_model)
IndexError: list index out of range
There is sth wrong with the cost list.