question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while processing a video

See original GitHub issue

Hi,

I am using a combination of yolo v4 tiny and motpy to track people in a video. However, after processing successfully for few seconds, the code fails and gives the following error:

/home/user1/anaconda3/envs/people_counting_windows/lib/python3.8/site-packages/motpy/metrics.py:23: RuntimeWarning: invalid value encountered in true_divide iou = val_inter / (val_b1 + np.transpose(val_b2) - val_inter) Traceback (most recent call last): File "motpy_t.py.py", line 101, in <module> tracker.step(detections) File "/home/user1/anaconda3/envs/people_counting_windows/lib/python3.8/site-packages/motpy/tracker.py", line 279, in step matches = self.matching_fn(self.trackers, detections) File "/home/user1/anaconda3/envs/people_counting_windows/lib/python3.8/site-packages/motpy/tracker.py", line 201, in __call__ return match_by_cost_matrix( File "/home/user1/anaconda3/envs/people_counting_windows/lib/python3.8/site-packages/motpy/tracker.py", line 133, in match_by_cost_matrix row_ind, col_ind = scipy.optimize.linear_sum_assignment(cost_mat) File "/home/user1/anaconda3/envs/people_counting_windows/lib/python3.8/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 Kindly help me with this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
haviduckcommented, Sep 21, 2021

@reshmastadas @haviduck If you have an example recreating the issue, please add a test and we can try to fix it in next release.

yeah absolutely. but im currently facing generic issues with how i pass my bboxes in various trackers so im studying wth im doing wrong. will provide an eaxmple as soon as i get my head above water so i know exactly what im talking about…

0reactions
wmuroncommented, Sep 21, 2021

@reshmastadas @haviduck If you have an example recreating the issue, please add a test and we can try to fix it in next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Drive Video is Still Processing Video Error - Appuals
Many users reported the “Google drive video is still processing” error when they try playing or download any of their video uploaded on...
Read more >
5 Fixes to Video is Still Processing on Google Drive ... - CBackup
How to fix Google Drive processing video error: 5 Ways · Method 1. Upgrade Browser · Method 2. Clear browsing data and cache...
Read more >
3 Solutions to Fix Google Drive Processing Video Error
3 Solutions to Fix Google Drive Processing Video Error ; The uploaded video file size is too large. The internet speed is slow....
Read more >
Google Drive Video is Still Processing – 5 Methods Included
How to Fix Google Drive Is Still Processing Error · #1. Verify the Internet Connection · #2. Sign out & in to your...
Read more >
Fix Video Is Still Processing in Google Drive Error
At times when you try to open a video on Google Drive, it shows a message persistently without playing it,” Google Drive Video...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found