deepaas-predict

Synopsis

deepaas-predict [options]

Description

deepaas-predict It is a command that allows you to obtain,

through the command line, the prediction of a file or the url of a file, of the models that are loaded through the deepaas.v2.models entrypoint API.

Options

--input-file INPUT_FILE, -i INPUT_FILE

Set local input file to predict. This option is required.

--content-type CONTENT_TYPE, -c CONTENT_TYPE

Especify the content type of the output file. The selected option must be available in the model used. (by default application/json).

--model-name CONTENT_TYPE, -c CONTENT_TYPE

Add the name of the model from which you want to obtain the prediction. If there are multiple models installed and youd don’t specify the name of the one you want to use the program will fail. If there is only one model installed, that will be used to make the prediction.

--output OUTPUT_DIR, -o OUTPUT_DIR

Save the result to a local file. This option is required.

--url, -u

If set to true, the input file is the url o a file to predict.

Files

None

See Also

Documentation: DEEPaaS API

Reporting Bugs

Bugs are managed at GitHub