Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Enough Non-NaN Values for Interpolation #41

Open
cocohzy opened this issue Mar 27, 2024 · 0 comments
Open

Not Enough Non-NaN Values for Interpolation #41

cocohzy opened this issue Mar 27, 2024 · 0 comments

Comments

@cocohzy
Copy link

cocohzy commented Mar 27, 2024

Traceback (most recent call last):
File "/content/drive/MyDrive/tennis/tennis-tracking-main/predict_video.py", line 274, in
coords = interpolation(coords)
File "/content/drive/MyDrive/tennis/tennis-tracking-main/detection.py", line 469, in interpolation
xxx[nons]= np.interp(yy(nons), yy(~nons), xxx[~nons])
File "/usr/local/lib/python3.10/dist-packages/numpy/lib/function_base.py", line 1599, in interp
return interp_func(x, xp, fp, left, right)
ValueError: array of sample points is empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant