You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when using draw_bounding boxes an image torch.tensor needs to be converted to uint8 dtype because the function expects that dtype. When inserting the image with drawn boxes to save_image, it needs to be converted back to float32 dtype. Can this be changed to easily insert the images to both functions without type conversion?
The text was updated successfully, but these errors were encountered:
Hi, when using draw_bounding boxes an image torch.tensor needs to be converted to uint8 dtype because the function expects that dtype. When inserting the image with drawn boxes to save_image, it needs to be converted back to float32 dtype. Can this be changed to easily insert the images to both functions without type conversion?
The text was updated successfully, but these errors were encountered: