I am getting the error IndexError: too many indices for array, I am passing the correct dimensions for a_prev_pad, weights, and biases but cannot find the problem, can someone help?
Update:
I have tried and tried to be honest but nothing seems to work!
1 Like
Hello ParthM,
Hope all is well with you.
Is it possible to post a screenshot of the relevant code? (I will ask you to delete it when we solve the problem)
Regards,
LinkedIn
1 Like
I don’t know what the issue was but I restarted the notebook and it worked.
Thanks!
2 Likes
Hello,
I’m having the same issue as ParthM in what I believe to be the same section. Unfortunately, restarting isn’t solving the problem for me. I’ve attached a screenshot of my code. Any help would be much appreciated.
Many thanks,
Dean
EDIT: Fixed it! Deleting screenshot. For anyone having similar issues, I had initialised my output volume, Z, with the wrong dimensions.
2 Likes
Hello @DeanGrierson,
Hope you are doing well.
It is great to hear that your problem has been solved. I would love to assist with anything else.
Regards,
LinkedIn
1 Like