You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same error, but I fixed it by converting the list, in your case train_posts, which was a list of bytes into a list of str. You can do that easily saving them all into another list with .decode('utf-8')
I am trying to implement ../keras-text-classification/20_news_group_classification.py
However its showing me the error as shown in the image
Libraries installed
keras==2.2.4
tensorflow==1.0.0
Python 3.6.6
The text was updated successfully, but these errors were encountered: