From 32f8ad5902f1b89c426efbaf63bf494e63a8f862 Mon Sep 17 00:00:00 2001 From: Harshith Bachimanchi <62615092+HarshithBachimanchi@users.noreply.github.com> Date: Sun, 10 Sep 2023 21:14:06 +0200 Subject: [PATCH] Update features.py --- deeptrack/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deeptrack/features.py b/deeptrack/features.py index 14beec481..8e43cdf9a 100644 --- a/deeptrack/features.py +++ b/deeptrack/features.py @@ -1637,7 +1637,7 @@ def _process_and_get(self, images, **kwargs): p0[0] = np.max([p0[0], 0]) p0[1] = np.max([p0[1], 0]) - p0 = p0.astype(np.int) + p0 = p0.astype(int) output_slice = output[ p0[0] : p0[0] + labelarg.shape[0],