CNN, Week 3 Car detection

I couldn’t figure out what caused the error “boxes must be 2-D[54] [Op:NonMaxSuppressionV3]”

return scores, boxes, classes

InvalidArgumentError: boxes must be 2-D[54] [Op:NonMaxSuppressionV3]

[ 6.0797963 3.743308 1.3914018 -0.34089637]], shape=(54, 4), dtype=float32)

Hey, you might want to check what arguments you’ve passed for tf.image.non_max_suppression() with the documentation provided above the cell.

And please, could you remove the code?

Thank you. I found out.