ammesatyajit / VideoBERT

Using VideoBERT to tackle video prediction
116 stars 14 forks source link

ValueError: Incorrect number of features. Got 600 features, expected 12 #8

Open Uvir127 opened 2 years ago

Uvir127 commented 2 years ago

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?