From 6df2144c0fa8de8eb95c9c454aa642173ae35952 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Sat, 9 May 2026 02:31:22 +0200 Subject: [PATCH] =?UTF-8?q?fix=202=20typos=20in=20previous=20commits?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - becf031c651c7c7fb633dec5d72c4db4e2abbf70 - cefe596f8b7493fef8ecf1f300eafd3382c61390 --- src/eynollah/eynollah.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eynollah/eynollah.py b/src/eynollah/eynollah.py index 815852d..ae182dc 100644 --- a/src/eynollah/eynollah.py +++ b/src/eynollah/eynollah.py @@ -334,7 +334,7 @@ class Eynollah: if num_col in (1, 2): fun = self.calculate_width_height_by_columns_1_2 else: - self.calculate_width_height_by_columns + fun = self.calculate_width_height_by_columns img_new, _ = fun(img, num_col, conf_col, width_early) if img_new.shape[1] > img.shape[1]: @@ -532,7 +532,7 @@ class Eynollah: # now we know the number of classes prediction = np.zeros((img_h, img_w, label_p_pred.shape[-1]), dtype=float) - for batch in range(range): + for batch in range(batch): where = np.index_exp[batch_y_d[batch]: batch_y_u[batch], batch_x_d[batch]: batch_x_u[batch]] # shorter window on last tile