From c44dee3a8c34db39ab40d748343f48a52a8b66b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sol=C3=A8ne=20Tarride?= <starride@teklia.com>
Date: Fri, 7 Jul 2023 15:09:13 +0200
Subject: [PATCH] Do not resize by default 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