Skip to content Skip to sidebar Skip to footer

Keras From Tf : Loss Is Nan And Failed To Find Data Adapter That Can Handle Input: ,

I tried to find some solutions that should solves my problem but for the moment none of them are working. (like Tensorflow ValueError: Failed to find data adapter that can handle i

Solution 1:

I found the solution :

First do the feature scaling by using StandardScaler from sklearn.preprocessing (for inputs and outputs). Then instead of doing 1 nn for all the lines, I do one nn for each.

Still I don't know why I had the error message "Failed to find data adapter that can handle input: <class 'pandas.core.frame.DataFrame'>, <class 'NoneType'>

Post a Comment for "Keras From Tf : Loss Is Nan And Failed To Find Data Adapter That Can Handle Input: , "