From 5d35d16d8c248ebf3f7a84daf70d688a5e248232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sol=C3=A8ne=20Tarride?= <starride@teklia.com> Date: Fri, 7 Jul 2023 13:47:28 +0000 Subject: [PATCH] Set default value to None for --image_max_width during prediction --- dan/predict/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dan/predict/__init__.py b/dan/predict/__init__.py index e8f3c961..fa81b61e 100644 --- a/dan/predict/__init__.py +++ b/dan/predict/__init__.py @@ -68,7 +68,7 @@ def add_predict_parser(subcommands) -> None: parser.add_argument( "--image-max-width", type=int, - default=1800, + default=None, required=False, help="Image resizing before feeding it to DAN", ) -- GitLab