inference time
#745
-
A 640640 image, using yolov5 to infer about 6-7ms. A 19201680 image, using SAHI slices, slice_height640 slice_width 640, overlap_height_ratio0.2, cut into 8 parts, why does it take 170ms? |
Beta Was this translation helpful? Give feedback.
Answered by
fcakyon
Nov 23, 2022
Replies: 1 comment 1 reply
-
Yolov5 resizes large large image to 640 before running. sahi crops 640 slice from image and gives this slice as 640 to model. If your image 1280 size, then sahi applies 4x enhancement which may be slower.. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fcakyon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yolov5 resizes large large image to 640 before running. sahi crops 640 slice from image and gives this slice as 640 to model.
If your image 1280 size, then sahi applies 4x enhancement which may be slower..