Spaces:
Runtime error
Runtime error
Fatih
commited on
Commit
•
b85fc73
1
Parent(s):
fbc6bbb
cast input to int
Browse files
app.py
CHANGED
@@ -77,8 +77,8 @@ def sahi_yolo_inference(
|
|
77 |
prediction_result_2 = sahi.predict.get_sliced_prediction(
|
78 |
image=image,
|
79 |
detection_model=model,
|
80 |
-
slice_height=slice_height,
|
81 |
-
slice_width=slice_width,
|
82 |
overlap_height_ratio=overlap_height_ratio,
|
83 |
overlap_width_ratio=overlap_width_ratio,
|
84 |
postprocess_type=postprocess_type,
|
|
|
77 |
prediction_result_2 = sahi.predict.get_sliced_prediction(
|
78 |
image=image,
|
79 |
detection_model=model,
|
80 |
+
slice_height=int(slice_height),
|
81 |
+
slice_width=int(slice_width),
|
82 |
overlap_height_ratio=overlap_height_ratio,
|
83 |
overlap_width_ratio=overlap_width_ratio,
|
84 |
postprocess_type=postprocess_type,
|