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

ValueError Found array with 0 sample #2

Open
vinpro24 opened this issue May 14, 2024 · 2 comments
Open

ValueError Found array with 0 sample #2

vinpro24 opened this issue May 14, 2024 · 2 comments

Comments

@vinpro24
Copy link

I tried other video but show error:
ValueError: Found array with 0 sample(s) (shape=(0, 3)) while a minimum of 1 is required by KMeans.

@azishabibi
Copy link

same

@ms82119
Copy link

ms82119 commented Jul 12, 2024

@vinpro24 @azishabibi try removing the two .pkl files in the stubs folder. If you are using a different input video file you'll need to clear those out so that the program regenerates them for the new video. it will take a bit longer to run now as it's now generating new tracking data but it needs to do that for a new video file. I had the same problem and this worked for me.

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

3 participants