DeepLearning-Challenges icon indicating copy to clipboard operation
DeepLearning-Challenges copied to clipboard

to_categorical(totalY, nb_classes=11) is giving same value for any totalY

Open neolivz opened this issue 6 years ago • 0 comments

I had to do totalY = np.concatenate( totalY, axis=0 ) before doing totalY = to_categorical(totalY, nb_classes=11) https://github.com/erilyth/DeepLearning-Challenges/blob/2750a1c5f008c48f8c6c9c830ae892c399e73467/Sentiment_Analysis/demo.py#L33

neolivz avatar Apr 03 '18 21:04 neolivz