From 900e10a0144c9950216158668957f1bde956c5d1 Mon Sep 17 00:00:00 2001 From: manonBlanco <blanco@teklia.com> Date: Mon, 30 Oct 2023 12:51:18 +0100 Subject: [PATCH] Document a predict command for development --- docs/get_started/development.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/get_started/development.md b/docs/get_started/development.md index ee40bbd1..9c1adbf8 100644 --- a/docs/get_started/development.md +++ b/docs/get_started/development.md @@ -36,6 +36,18 @@ The library already has all the documents needed to run the [training command](. teklia-dan train --config configs/tests.json ``` +The library already has all the documents needed to run the [predict command](../usage/predict/index.md) with a minimalist model. In the `tests/data/prediction` directory, you can run the following command and add any extra parameters you need: + +```shell +teklia-dan predict \ + --image-dir images/ \ + --image-extension png \ + --model popp_line_model.pt \ + --parameters parameters.yml \ + --charset charset.pkl \ + --output /tmp/dan-predict +``` + ## Documentation This documentation uses [Sphinx](http://www.sphinx-doc.org/) and was generated using [MkDocs](https://mkdocs.org/) and [mkdocstrings](https://mkdocstrings.github.io/). -- GitLab