my code is correct but it’s keep giving me error.

in .¡:

parameters = nn_model(t_X, t_Y, 4, num_iterations=10000, print_cost=True)

Cost after iteration 0: 0.693198

Cost after iteration 1000: nan

Cost after iteration 2000: nan

Cost after iteration 3000: nan

Cost after iteration 4000: nan

Cost after iteration 5000: nan

Cost after iteration 6000: nan

Cost after iteration 7000: nan

Cost after iteration 8000: nan

Cost after iteration 9000: nan

AssertionError: Wrong values for W1