Predict Interface¶
Note:Args that start with ‘--’ (eg. --save-config) can also be set in a config file (specified via --config). The config file uses YAML syntax and must represent a YAML ‘mapping’ (for details, see http://learn.getgrav.org/advanced/yaml). If an arg is specified in more than one place, then command line values override config file values which override defaults.
For generic options see: here
When using the prediction interface you need to pass a pre-trained model using the –load-model flag described in General options. If you do not specify a pre-trained model to be loaded and used for predictions, OpenKiwi will not be able to predict anything.
Model specific options can be seen here:
usage: kiwi predict [-h] [--batch-size BATCH_SIZE]
predicting¶
--batch-size | Maximum batch size for predicting. Default: 64 |