Passing a python list to keras model.fit

Viewed 881

So right now I'm using keras and training my model works perfectly fine, but I have to pass my data as numpy ndarray. So I have to convert my list of data to numpy ndarray first and then pass it to keras for training. When I try to pass my python list/array, even tho it's the same shape as numpy array I get back errors. Is there any way to not use numpy for this or am I stuck with it?

1 Answers

Can you further explain your problem. What is the error message you are getting and are you getting this error during training or predicting?

Also if you could post some code samples that would help to

Related