Update TILE_DUPLICATE_CONFIDENCE_THRESHOLD declaration in constants_inf.pyx to ensure proper type casting to double

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-30 02:59:09 +03:00
parent 38b7c710b3
commit 3b30a17e11
+1 -1
View File
@@ -14,7 +14,7 @@ cdef str MODELS_FOLDER = "models"
cdef int SMALL_SIZE_KB = 3 cdef int SMALL_SIZE_KB = 3
cdef str SPLIT_SUFFIX = "!split!" cdef str SPLIT_SUFFIX = "!split!"
cdef double TILE_DUPLICATE_CONFIDENCE_THRESHOLD = 0.01 cdef double TILE_DUPLICATE_CONFIDENCE_THRESHOLD = <double>0.01
cdef int METERS_IN_TILE = 25 cdef int METERS_IN_TILE = 25
cdef class AnnotationClass: cdef class AnnotationClass: