GajuuzZ / Human-Falling-Detect-Tracks

AlphaPose + ST-GCN + SORT.
721 stars 252 forks source link

matrix contains invalid numeric entries #27

Open Wallace00V opened 3 years ago

maocaixia commented 3 years ago

same issue.

cscwilson commented 3 years ago

when i run the program some period of time , it will end program, then show "matrix contains invalid numeric entries". anyone can help

GajuuzZ commented 3 years ago

You should post more details about the error or copy your entire error code. So i can know which line and which file that have a problem.

zhangalex commented 2 years ago

Ya, same error if connect to a IPC with high resolution, after a long period it will crash.

    tracker.update(detections)
  File "/home/x/Human-Falling-Detect-Tracks-master/Track/Tracker.py", line 145, in update
    matches, unmatched_tracks, unmatched_detections = self._match(detections)
  File "/home/x/Human-Falling-Detect-Tracks-master/Track/Tracker.py", line 168, in _match
    matches_a, unmatched_tracks_a, unmatched_detections = matching_cascade(
  File "/home/x/Human-Falling-Detect-Tracks-master/Track/linear_assignment.py", line 140, in matching_cascade
    matches_l, _, unmatched_detections = min_cost_matching(
  File "/home/x/Human-Falling-Detect-Tracks-master/Track/linear_assignment.py", line 66, in min_cost_matching
    indices = linear_sum_assignment(cost_matrix)
  File "/home/x/.local/lib/python3.8/site-packages/scipy/optimize/_lsap.py", line 100, in linear_sum_assignment
    return _lsap_module.calculate_assignment(cost_matrix)
ValueError: matrix contains invalid numeric entries