OctoML Command Line InterfaceΒΆ
The OctoML SDK includes a command-line client to the OctoML Platform. Once the SDK has been installed, you can run it with:
$ octomizer
For example, to fetch a list of all models in your account, run:
$ octomizer list-models
uuid: "8423df81-6abc-4372-94c5-6d73d9cfb81e"
created_by: "dda407da-a73f-48f5-abcd-51cfd04f5d48"
inputs {
input_fields {
input_name: "data_0"
input_dtype: "float32"
input_shape: 1
input_shape: 3
input_shape: 224
input_shape: 224
}
}
name: "inception-v2"
description: "Model inception-v2 from Aquarium"
create_time {
seconds: 1605654346
nanos: 812747000
}
update_time {
seconds: 1605654346
nanos: 812747000
}
owned_by: "bdae8751-b618-44da-bc67-bed2126dbafc"
The results displayed by the CLI are the text representations of the data objects returned by the OctoML gRPC interface in protobuf format. See OctoML RPC Interface.