Error using Conv3D_check_prediction.py
Avi-141 opened this issue · comments
Avi 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