用DNN分类的时候出现了以下问题,麻烦大家帮忙解答一下:
history = model.fit(xtrain_count, ytrain_count,
batch_size=batch_size,
epochs=50,callbacks=[checkpoint],
verbose=1,
validation_split=0.1)
ValueError: `validation_split` is only supported for Tensors or NumPy arrays, found following types in the input: [<class 'scipy.sparse.csr.csr_matrix'>]
谢谢!