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: Incorrect number of features. Got 600 features, expected 12 #8

Open
Uvir127 opened this issue Dec 22, 2021 · 0 comments
Open

Comments

@Uvir127
Copy link

Uvir127 commented Dec 22, 2021

Traceback (most recent call last):
File "VideoBERT/data/label_data.py", line 32, in
data_dict[folder].extend(kmeans.predict(np.load(os.path.join(features_root, folder, features))))
File "Python\Python38\lib\site-packages\sklearn\cluster_kmeans.py", line 1915, in predict
X = self._check_test_data(X)
File "Python\Python38\lib\site-packages\sklearn\cluster_kmeans.py", line 998, in _check_test_data
raise ValueError(
ValueError: Incorrect number of features. Got 600 features, expected 12.

I get this error when I try to run the 'label_data.py' file. I followed the previous steps twice just to make sure I didn't mess up anything but I still get to this error. Maybe it is something small that I am missing but I am not sure. Could someone provide assistance?

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