mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 20:11:09 +00:00
6ad4b700dd
ci/woodpecker/push/02-build-push Pipeline was successful
* Run tests * Run tests * Run tests * Run tests * Added rebuild * Added files for e2e tests * Added rebuild * Added rebuild * Added biuld TensorRT flag * Changed to use NumPy 1.x for Jetson * Make universal invocation * Make Cython constans * Changed to prepare onnx * Changed smoke-test to wait AI conversion * Added step for model conversion * Changed to not run step in parallel * Push model to docker registry * Push model to docker registry * Push model to docker registry
31 lines
586 B
Cython
31 lines
586 B
Cython
cdef str CONFIG_FILE
|
|
|
|
cdef str AI_ONNX_MODEL_FILE
|
|
cdef str INT8_CALIB_CACHE_FILE
|
|
|
|
cdef str CDN_CONFIG
|
|
cdef str MODELS_FOLDER
|
|
|
|
cdef int SMALL_SIZE_KB
|
|
|
|
cdef str SPLIT_SUFFIX
|
|
cdef double TILE_DUPLICATE_CONFIDENCE_THRESHOLD
|
|
cdef int METERS_IN_TILE
|
|
|
|
cpdef log(str log_message)
|
|
cpdef logerror(str error)
|
|
cdef format_time(long ms)
|
|
|
|
cdef dict[int, AnnotationClass] annotations_dict
|
|
|
|
cdef class AnnotationClass:
|
|
cdef public int id
|
|
cdef public str name
|
|
cdef public str color
|
|
cdef public int max_object_size_meters
|
|
|
|
cdef enum WeatherMode:
|
|
Norm = 0
|
|
Wint = 20
|
|
Night = 40
|