`TypeError: Cannot handle this data type: (1, 1, 1), |u1` when using `torchvision.utils.draw_bounding_boxes`

Could you check the type of bbox? Based on the docs a tensor is expected and the error message points towards a wrong type in a numpy array, if I’m not mistaken.