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
Used a .json file as train data, and it didn't produce any error but at the model.fit sequence ı get an error;
Validation split is only supported for Tensors or NumPy arrays
#model eğitimi, bir defa eğitimden geçmesi -> epoch , batch_size -> 256'şar 256'şar beslenecek. history = model.fit(x_train_pad, y_train,validation_split=0.25, epochs=5, batch_size=256)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/data_adapter.py in train_validation_split(arrays, validation_split) 1357 raise ValueError( 1358 "validation_split is only supported for Tensors or NumPy " -> 1359 "arrays, found following types in the input: {}".format(unsplitable))
ı guess they are numpy array already when coded as x_train[300] it works and getting the 300th. item of the x_train array
could you help please?
Uygulama için teşekkürler hocam
The text was updated successfully, but these errors were encountered:
Hello, merhaba
Used a .json file as train data, and it didn't produce any error but at the model.fit sequence ı get an error;
Validation split is only supported for Tensors or NumPy arrays
#model eğitimi, bir defa eğitimden geçmesi -> epoch , batch_size -> 256'şar 256'şar beslenecek. history = model.fit(x_train_pad, y_train,validation_split=0.25, epochs=5, batch_size=256)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/data_adapter.py in train_validation_split(arrays, validation_split) 1357 raise ValueError( 1358 "
validation_splitis only supported for Tensors or NumPy " -> 1359 "arrays, found following types in the input: {}".format(unsplitable))
ı guess they are numpy array already when coded as x_train[300] it works and getting the 300th. item of the x_train array
could you help please?
Uygulama için teşekkürler hocam
The text was updated successfully, but these errors were encountered: