Surface YOLO preflight in Detection Lab
This commit is contained in:
@@ -404,6 +404,43 @@ export interface DetectionModelsResponse {
|
||||
models: DetectionModelCapability[]
|
||||
}
|
||||
|
||||
export interface YoloPreflightChecks {
|
||||
enabled: boolean
|
||||
dependencies_available?: boolean | null
|
||||
model_path_set?: boolean | null
|
||||
model_file_exists?: boolean | null
|
||||
model_load_requested: boolean
|
||||
model_load_ok?: boolean | null
|
||||
manifest_path_set?: boolean | null
|
||||
manifest_valid?: boolean | null
|
||||
tile_paths_exist?: boolean | null
|
||||
tile_limit_ok?: boolean | null
|
||||
}
|
||||
|
||||
export interface YoloPreflightRuntime {
|
||||
dependencies_assumed: boolean
|
||||
model_directory?: string | null
|
||||
yolo_config_dir?: string | null
|
||||
torch_version?: string | null
|
||||
ultralytics_version?: string | null
|
||||
cuda_available?: boolean | null
|
||||
}
|
||||
|
||||
export interface YoloPreflightResponse {
|
||||
model_id: string
|
||||
model_path?: string | null
|
||||
tile_manifest_path?: string | null
|
||||
status: string
|
||||
message: string
|
||||
checks: YoloPreflightChecks
|
||||
runtime: YoloPreflightRuntime
|
||||
tile_count: number
|
||||
max_tiles: number
|
||||
will_download_models: boolean
|
||||
will_run_inference: boolean
|
||||
error_code?: string | null
|
||||
}
|
||||
|
||||
export interface DetectionRunRequest {
|
||||
project_id: string
|
||||
dataset_id: string
|
||||
|
||||
Reference in New Issue
Block a user