I wrote the following code for example_weights
example_weights = np.ones_like(targets)
and I couldn’t pass the test which produced errors like
Second output from data_generator (targets) has the wrong shape.
Expected (4,).
Got (4, 14).
Third output from data_generator (example_weights) has the wrong shape.
Expected (4,).
Got (4, 14).
Second output from data_generator (targets) has the wrong values.
Expected [1 1 0 0].
Got [1 1 1 ... 0 0 0].
Third output from data_generator (example_weights) has the wrong values.
Expected [1 1 1 1].
Got [1 1 1 ... 1 1 1].
10 Tests passed
4 Tests failed
I don’t know where I was wrong in the code… Can anyone help me on this issue?