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 found that commenting out the second "result" variable right after the get_sliced_predicition properly passed the output boxes to SahiAutoSegmentation().image_predict where as before it was always an empty array.
its found in sahi_predictor.py
result = get_sliced_prediction(
image_path,
detection_model,
slice_height=slice_height,
slice_width=slice_width,
overlap_height_ratio=overlap_height_ratio,
overlap_width_ratio=overlap_width_ratio,
)
# result = get_prediction(image_path, detection_model) <-- comment out this line
sahi_predict is used to predict what the SahiAutoSegmentation is. input_box in predict is []?
The text was updated successfully, but these errors were encountered: