Incompatible shape YOLO car detection c4w3a1

Incompatible shapes: [19,19,5,4] vs. [19,19,5,80] [Op:Mul]

#my code

my error

can someone help me with this

It turns out that you can’t just copy your solution forward from the previous version of the course. Take a look at the definition of the function yolo_filter_boxes. Here is the definition in the new course:

def yolo_filter_boxes(boxes, box_confidence, box_class_probs, threshold = .6):

And here is the definition in the previous version of the course:

def yolo_filter_boxes(box_confidence, boxes, box_class_probs, threshold = .6):

See the difference? The reason that I’m familiar with this is that I just stubbed my toe on this same problem earlier today. :scream_cat:

it is just a coincidence
I have this course for about 6 months now and I have been studying thoroughly and now why would I need to copy such a simple thing .It was just a small mistake that I made and was stuck on to it for hours that is why I asked it here