when i use my own dataset in ImageClassifierData.from_arrays report error ‘NotImplementedError: uint8’
i use ‘X[i] = cv2.resize(cv2.imread(’./train/{0}’.format(df_load[‘image_id’][i])’ load image from csv
when i use my own dataset in ImageClassifierData.from_arrays report error ‘NotImplementedError: uint8’
i use ‘X[i] = cv2.resize(cv2.imread(’./train/{0}’.format(df_load[‘image_id’][i])’ load image from csv
what should i do for this problem?
thank!
Any solution to your problem so far. I am getting the same error. Thanks
have you tried X[i]=X[i].astype('float32')
?