At run time model.fit with the following input parameters:
model.fit(X, y, batch_size=32, epochs=20, validation_split=0.2 ,callbacks=[tensorboard])
the following error is encountered:
validation_split
is only supported for Tensors or NumPy arrays, found following types in the input: [<class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, <class ‘int’>, …
the tensorflow-gpu version is 2.7.1
numpy version is 1.23.2
Could this be from the Nampy version?