How to select FI option ? #867
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@IdrissSinapan Did you figure this out? I want to do YOLOv8 + SAHI + FI + PO for one of my projects. Is there an option to do SAHI + FI together or will I have to make some code changes? My understanding is that I can do SAHI and FI separately and concatenate their results before postprocessing/NMS but before I make code changes, I wanted to check if this has already been implemented. Thank you for your help! @fcakyon Can you please advise? |
Beta Was this translation helpful? Give feedback.
-
Never mind! I found this in the get_sliced_prediction(): perform_standard_pred: bool |
Beta Was this translation helpful? Give feedback.
-
@IdrissSinapan , If you are using get_sliced_prediction(), you'll need to set perform_standard_pred to True and which is its default value. If you look at the below piece of code from predict.py, this parameter enables FI after performing SAHI: |
Beta Was this translation helpful? Give feedback.
Never mind! I found this in the get_sliced_prediction():
perform_standard_pred: bool
Perform a standard prediction on top of sliced predictions to increase large object
detection accuracy. Default: True.