From 516f70cbc61aa5085ed9fe5e7818fa2976e01fd8 Mon Sep 17 00:00:00 2001 From: John-Henry Lim <42513874+Interpause@users.noreply.github.com> Date: Thu, 9 Feb 2023 11:48:07 +0800 Subject: [PATCH] stride of 8 is minimum? (#116) --- backend/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/utils.py b/backend/utils.py index 49af8390..89ede617 100644 --- a/backend/utils.py +++ b/backend/utils.py @@ -171,7 +171,7 @@ def sddebz_highres_fix( orig_width: int, orig_height: int, just_stride=False, - stride=1, + stride=8, ): """Calculate an appropiate image resolution given the base input size of the model and max input size allowed.