Car detection with yolo

I am getting this error can anyone please help me how to resolve it

Thanks in advance

You don’t need “np.array(…)”. Just the logic statement is sufficient.

And, there may be a problem with your calculation for box_scores or box_class_scores.

Yes sir I understood where I did wrong sir
Thanks a lot sir for helping me