Browser-Sentiment-Classification icon indicating copy to clipboard operation
Browser-Sentiment-Classification copied to clipboard

Unable to train the model.

Open kumarUjjawal opened this issue 7 years ago • 7 comments

I'm getting this error when trying to train the model.screen shot 2018-04-20 at 6 09 43 pm

kumarUjjawal avatar Apr 20 '18 12:04 kumarUjjawal

Could you post the versions of keras, TensorFlow and python you have ?

zaidalyafeai avatar Apr 20 '18 14:04 zaidalyafeai

Tensorflow = 1.7.0 keras = 2.1.5 Python = 2.7

kumarUjjawal avatar Apr 24 '18 12:04 kumarUjjawal

Try with python = 3.5

zaidalyafeai avatar Apr 28 '18 23:04 zaidalyafeai

same error with python 3.5

kashyap32 avatar Jun 15 '18 07:06 kashyap32

I have the same indeed, from Jupyther notebook as well...

neohack22 avatar Jun 25 '18 16:06 neohack22

I am also facing the same problem

sid321axn avatar Jan 12 '19 02:01 sid321axn

I am also facing the same problem

The output labels that we have are contained in 'y_train' which is a list. Convert the 'y_train' list into a numpy array and feed that array while fitting the model.

harshel avatar Mar 23 '19 15:03 harshel