From 3abe184a221ba9e488c97ae9e1750951f5049152 Mon Sep 17 00:00:00 2001 From: Ojasva Goyal <97733600+Ojasva-Goyal@users.noreply.github.com> Date: Thu, 27 Mar 2025 14:25:51 +0530 Subject: [PATCH] Update matching.py AlphaPose gives compatibility issue due to newer versions of NumPy, specifically np.float being deprecated. Solution for the following AttributeError: module 'numpy' has no attribute 'float'. --- trackers/tracking/matching.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trackers/tracking/matching.py b/trackers/tracking/matching.py index 3da11d37..faced67b 100644 --- a/trackers/tracking/matching.py +++ b/trackers/tracking/matching.py @@ -1,5 +1,6 @@ import cv2 import numpy as np +np.float = float import scipy from scipy.spatial.distance import cdist from scipy.optimize import linear_sum_assignment