Traceback (most recent call last):
File ".\keras_test.py", line 62, in <module>
X_train = sequence.pad_sequences(X_train, maxlen=max_review_length)
File "C:\Program Files\Python36\lib\site-packages\keras\preprocessing\sequence.py", line 69, in pad_sequences
trunc = np.asarray(trunc, dtype=dtype)
File "C:\Program Files\Python36\lib\site-packages\numpy\core\numeric.py", line 531, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: invalid literal for int() with base 10: "plus 've added commercials experience tacky"
Hi there. I'm getting this error when trying to use the pad_sequence function of Keras. X_train is a sequence of strings, where "plus 've added commercials experience tacky" is the first of those strings.