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
I am trying to obtain the bounding boxes from an image that i feed the model. The yolov5 model from torch hub has been loaded on to cuda. I get the right bounding boxes when i feed the image like this :
but when i load the image to cuda, for some reason yolo expects an image with dimensions a multiple of 32 (ig has to do something with the kernel size), so i try it like this:
but this way the bounding boxes are incorrect and there are a lot of detections.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to obtain the bounding boxes from an image that i feed the model. The yolov5 model from torch hub has been loaded on to cuda. I get the right bounding boxes when i feed the image like this :
Beta Was this translation helpful? Give feedback.
All reactions