HHTseng / video-classification

Tutorial for video classification/ action recognition using 3D CNN/ CNN+RNN on UCF101

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error using Conv3D_check_prediction.py

Avi-141 opened this issue · comments

commented

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