When I ran the test code, it gives me the below error:
Third output from data_generator (example_weights) has the wrong shape.
Expected (4,).
Got (4, 14).
Anyone can help?
When I ran the test code, it gives me the below error:
Third output from data_generator (example_weights) has the wrong shape.
Expected (4,).
Got (4, 14).
Anyone can help?
Kind of stuck here. Anyone can help me? Thanks a million!
I got the same error yesterday and solved it by changing the type of example_weights to np.array, hope this helps
it would be really nice to note it more obviously in comments. Not only in doc of funciton.
Same here, I had it as a list and once I changed it to an np.array it worked. They should add to the assignment a comment to make sure its a numpy array and not a list.