HHTseng / video-classification

Tutorial for video classification/ action recognition using 3D CNN/ CNN+RNN on UCF101
916 stars 216 forks source link

Error using Conv3D_check_prediction.py #33

Open Avi-141 opened 3 years ago

Avi-141 commented 3 years ago

DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel(). return f(**kwargs) Traceback (most recent call last): File "Conv3D_check_prediction.py", line 103, in df = pd.DataFrame(data={'filename': fnames, 'y': cat2labels(le, all_y_list), 'y_pred': cat2labels(le, all_y_pred)})

ValueError: arrays must all be same length