Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 1.96 KB

File metadata and controls

61 lines (52 loc) · 1.96 KB

model

Model Operations

export

Export the model to a file.

flow model export [OPTIONS]

Options

parameters short-format long-format required type description
model_id -mid --model-id yes str Model ID
model_version -mv --model-version yes str Model version
party_id -p --party-id yes str Site ID
role -r --role yes str Role of the participant: guest/host/arbiter/local
path -o --path yes path Directory or file path on the client

Usage

flow model export --model-id xxx --model-version xxx -p 9999 -r guest -o ./model/

import

Import the model to storage engine.

flow model import [OPTIONS]

Options

parameters short-format long-format required type description
model_id -mid --model-id yes str Model ID
model_version -mv --model-version yes str Model version
path -i --path yes path Directory or file path on the client

Usage

flow model import --model-id xxx --model-version xxx -i $input_path

delete

Delete Models Based on Conditions

flow model delete [OPTIONS]

Options

parameters short-format long-format required type description
model_id -mid --model-id yes str Model ID
model_version -mv --model-version yes str Model version
role -r --role no str Role of the participant: guest/host/arbiter/local
party_id -p --party-id no str Site ID
task_name -tn --task-name no str Task name
output_key - --output-key no str Primary key for output data or model of the task

Usage

flow model delete --model-id xxx  --model-version xxx