fx model command#
fx model#
Manage model blobs generated by OpenFL.
fx model [OPTIONS] COMMAND [ARGS]...
save#
Saves a model proto in framework native format.
fx model save [OPTIONS]
Options
- -i, --input <model_protobuf_path>#
Required The model protobuf to convert.
- -o, --output <output_filepath>#
Filename of the model that will be saved to in native format.
- Default:
'output_model'
- -p, --plan-config <plan_config>#
Path to an FL plan.
- Default:
'plan/plan.yaml'
- -c, --cols-config <cols_config>#
Path to the authorized collaborator list.
- Default:
'plan/cols.yaml'
- -d, --data-config <data_config>#
Path to the dataset shard configuration file.
- Default:
'plan/data.yaml'
- --input-shape <input_shape>#
The input spec of the model.
May be provided as a list for single input head:
--input-shape [3,32,32],or as a dictionary for multihead models (must be passed in quotes):
--input-shape "{'input_0': [1, 240, 240, 4],'input_1': [1, 240, 240, 1]}".