Add local model asset catalog
This commit is contained in:
@@ -404,6 +404,28 @@ export interface DetectionModelsResponse {
|
||||
models: DetectionModelCapability[]
|
||||
}
|
||||
|
||||
export interface ModelAssetRead {
|
||||
model_asset_id: string
|
||||
filename: string
|
||||
display_name: string
|
||||
model_path: string
|
||||
suffix: string
|
||||
framework: string
|
||||
task_type: string
|
||||
size_bytes: number
|
||||
sha256: string
|
||||
active: boolean
|
||||
status: string
|
||||
limitation_message: string
|
||||
will_download_models: boolean
|
||||
}
|
||||
|
||||
export interface ModelAssetListResponse {
|
||||
items: ModelAssetRead[]
|
||||
total: number
|
||||
model_directory: string
|
||||
}
|
||||
|
||||
export interface YoloPreflightChecks {
|
||||
enabled: boolean
|
||||
dependencies_available?: boolean | null
|
||||
@@ -428,6 +450,7 @@ export interface YoloPreflightRuntime {
|
||||
|
||||
export interface YoloPreflightResponse {
|
||||
model_id: string
|
||||
model_asset_id?: string | null
|
||||
model_path?: string | null
|
||||
tile_manifest_path?: string | null
|
||||
status: string
|
||||
@@ -445,6 +468,7 @@ export interface DetectionRunRequest {
|
||||
project_id: string
|
||||
dataset_id: string
|
||||
model_id: string
|
||||
model_asset_id?: string | null
|
||||
confidence_threshold: number
|
||||
class_filter?: string[] | null
|
||||
tile_manifest_path?: string | null
|
||||
|
||||
Reference in New Issue
Block a user