You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6231,) + inhomogeneous part.
please help me to solve this i have downloaded dataset from kaggle and replaced traning and testing folder paths also.
The text was updated successfully, but these errors were encountered:
training_x = np.asarray(train_x,dtype=np.float32)
training_y = np.asarray(train_y,dtype=np.float32)
testing_x = np.asarray(test_x,dtype=np.float32)
testing_y = np.asarray(test_y,dtype=np.float32)
validation_x = np.asarray(validation_from_test_x,dtype=np.float32)
validation_y = np.asarray(validation_from_test_y,dtype=np.float32)
While running ,I am getting following error here.
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6231,) + inhomogeneous part.
please help me to solve this i have downloaded dataset from kaggle and replaced traning and testing folder paths also.
The text was updated successfully, but these errors were encountered: