Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
f988731
1
Parent(s):
5404556
Fix model parameters
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ if submit:
|
|
138 |
with st.spinner(text="Downloading model weights ... "):
|
139 |
detection_model = get_model(postprocess_match_threshold)
|
140 |
|
141 |
-
slice_size =
|
142 |
image_size = 4960
|
143 |
|
144 |
with st.spinner(text="Performing prediction ... "):
|
|
|
138 |
with st.spinner(text="Downloading model weights ... "):
|
139 |
detection_model = get_model(postprocess_match_threshold)
|
140 |
|
141 |
+
slice_size = 4960/(int(slice_number)**0.5)
|
142 |
image_size = 4960
|
143 |
|
144 |
with st.spinner(text="Performing prediction ... "):
|