It looks like perhaps you are trying to port forward your solution from the previous version of the course. That doesn’t work without some adjustments. E.g. they changed the function signature of the yolo_filter_boxes function. You can see from the exception trace that you show that you have reversed the first two arguments.
That’s not the only thing they changed. Here’s an earlier thread that discusses this issue.