Skip to content
Snippets Groups Projects

Load the model via a path to a folder

Merged Manon Blanco requested to merge load-model-via-path into main
All threads resolved!
6 files
+ 69
83
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -31,20 +31,7 @@ def add_predict_parser(subcommands) -> None:
parser.add_argument(
"--model",
type=pathlib.Path,
help="Path to the model to use for prediction.",
required=True,
)
parser.add_argument(
"--parameters",
type=pathlib.Path,
help="Path to the YAML parameters file.",
required=True,
default="page",
)
parser.add_argument(
"--charset",
type=pathlib.Path,
help="Path to the charset file.",
help="Path to the directory containing the model, the YAML parameters file and the charset file to be used for prediction.",
required=True,
)
parser.add_argument(
Loading