openlayer batch
command runs the command specified in the batchCommand
field of your openlayer.json.
Usage
batchCommand
field in the openlayer.json specifies the command
that runs your model.
Therefore, the openlayer batch
is a streamlined command to run your model on all the
datasets referenced in the openlayer.json file.
Run on a specific dataset
If you want to specify a dataset to generate outputs on, you can use the--dataset
option:
Run with custom arguments
You can pass custom arguments to your batch command using the--custom-args
flag.
Arguments should be provided as a comma-separated list of key=value pairs:
openlayer.json
.
If the same key appears in both places, the CLI flag value takes precedence.
Flags
Flag | Default | Description |
---|---|---|
--dataset | "" | Run the batch command only on the specified dataset. |
--custom-args | "" | Comma-separated list of key=value pairs to pass as custom arguments. |