does it resized the sliced images when SAHI ? #885
-
The paper describes that the image will be sliced into small patches and then resized into a bigger picture when during SAHI, but in the code, I do not find the patches that are resized. For example, I use yolov5 to infer and debug, the hyperparameter is default, width and height is 256 , I print the shape of the picture that feeds into the model, and it shows (256,256,3)..... So, I wonder whether the paper is different from the code implementation or if I missing something else. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No implementation is the same, resizing is happening inside yolo model, you can set the resize size with image_size parameter in sahi Line 65 in 0077a14 |
Beta Was this translation helpful? Give feedback.
No implementation is the same, resizing is happening inside yolo model, you can set the resize size with image_size parameter in sahi
sahi/sahi/models/yolov5.py
Line 65 in 0077a14