Having trouble plotting labels in draw_bounding_boxes


I’m having some trouble plotting the labels with my bounding boxes. When i plot the label with corresponding to the image, I get the error as seen in the picture below. I have tried specifying a font, but with no better result. Ive plotted the tensors that I use in the draw_bounding_boxes(img, boxes)

First time posting here, so please direct me if this is the wrong place to post. Thanks