duongttr / vehicles-counting-yolov4-deepsort

A project for counting vehicles using YOLOv4 + DeepSORT + Flask + Ngrok + TF2
MIT License
43 stars 16 forks source link

matrix contains invalid numeric entries #6

Open irfanahme opened 2 years ago

irfanahme commented 2 years ago

File "D:\Vehicle-Counting-master\vehicles-counting-yolov4-deepsort\object_tracker.py", line 302, in run tracker.update(detections) File "D:\Vehicle-Counting-master\vehicles-counting-yolov4-deepsort\deep_sort\tracker.py", line 70, in update self._match(detections) File "D:\Vehicle-Counting-master\vehicles-counting-yolov4-deepsort\deep_sort\tracker.py", line 116, in _match self.tracks, detections, confirmed_tracks) File "D:\Vehicle-Counting-master\vehicles-counting-yolov4-deepsort\deep_sort\linear_assignment.py", line 139, in matching_cascade track_indices_l, unmatched_detections) File "D:\Vehicle-Counting-master\vehicles-counting-yolov4-deepsort\deep_sort\linear_assignment.py", line 58, in min_cost_matching indices = linear_sum_assignment(cost_matrix) File "D:\Vehicle-Counting-master\vehicles-counting-yolov4-deepsort\testw\lib\site-packages\scipy\optimize_lsap.py", line 93, in linear_sum_assignment raise ValueError("matrix contains invalid numeric entries") ValueError: matrix contains invalid numeric entries

hsiaochinglin commented 11 months ago

Hi, have you already fixed the problem? Because i have almost the same error as you.It would be great if you can share how you fixed it. Thanks!