Pass parameters to train / predict from CLI or configuration file
We should replace the dict of parameters (https://gitlab.teklia.com/atr/dan/-/blob/1956acc9bbe79f6ce1b8ffba69fd3fe16cb49571/dan/ocr/document/train.py#L65) used to train/evaluate/predict by either a configuration file, or cli args.
We should have something similar to what is done in PyLaia: https://github.com/jpuigcerver/PyLaia/blob/master/laia/common/arguments.py
There is already some code for this: !34 (closed)