Course 5, Week1, Assignment3 Excersice 2

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook)

I’m trying to solve the last assignment in week1 of the course, and I’m facing the following error

I tried restarting the notebook and re-run the cells but didn’t work, I figured that the problem is that the outputs list contains different out objects with different shapes, when printed the list I found the following

I couldn’t find a solution can somebody help me ?

1 Like

Does this help?

1 Like

yes it helped thanks, in one of the old threads i found this solution

it turns out i forgot to get the max along the last axis for the out object, thanks alot

1 Like