GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
MLHub Commands |
The MLHub package supports any number of commands that are exposed through the individual model packages. MLHub itself implements the following commands:
$ ml # Summary of commands supported by ml. $ ml available # List of currated models on the MLHub. $ ml installed # List of models installed locally. $ ml install <model> # Install the named model. $ ml configure <model> # Install the model's required dependencies. $ ml readme <model> # View an introduction to the model. $ ml commands <model> # List commands supported by the model. $ ml remove <model> # Remove the model and (optionally) model cache. |
Most model packages will support the following commands:
$ ml demo <model> # Run the demonstration of the model. $ ml gui <model> # Graphical display to utilise the model. |
And then individual models will support model specific commands. Some examples include:
$ ml ocr azcv <file> $ ml identify objects <file> $ ml color colorize <file> $ ml listen azspeech2txt $ ml train rain <file> |