Why does large detection performance decrease when image size is increased? #650
-
Hi! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@youngjae-avikus can please explain your issue in detail? When |
Beta Was this translation helpful? Give feedback.
-
Rather, the large object image is 640->1280 and becomes bigger when it is resized, so the performance is adversely affected, right? eg. if separate the two models and give them different image sizes, wouldn't the above issues be eased a little? standard_detection_model = Yolov5DetectionModel(
model_path=weights,
confidence_threshold=conf_thres,
device=device, # or 'cuda:0'
image_size=640
)
slice_detection_model = Yolov5DetectionModel(
model_path=slice_weights,
confidence_threshold=conf_thres,
device=device, # or 'cuda:0'
image_size=320
) Thank you! |
Beta Was this translation helpful? Give feedback.
-
@youngjae-avikus you are definitely right on that! See this reply for a related discussion: https://github.com/obss/sahi/issues/302#issuecomment-1026812923 |
Beta Was this translation helpful? Give feedback.
@youngjae-avikus you are definitely right on that! See this reply for a related discussion: https://github.com/obss/sahi/issues/302#issuecomment-1026812923