We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In task 2: need to add
from keras.utils import pad_sequences
and replace x_train = sequence.pad_sequences(x_train, maxlen=maxlen) x_test = sequence.pad_sequences(x_test, maxlen=maxlen)
with:
x_train = pad_sequences(x_train, maxlen=maxlen) x_test = pad_sequences(x_test, maxlen=maxlen)
The text was updated successfully, but these errors were encountered:
also need to remove "from keras_preprocessing.sequence import pad_sequences" when it appears further down
Sorry, something went wrong.
Similarly: #from keras.layers.wrappers import Bidirectional by from keras.layers import Bidirectional
No branches or pull requests
In task 2:
need to add
from keras.utils import pad_sequences
and replace
x_train = sequence.pad_sequences(x_train, maxlen=maxlen)
x_test = sequence.pad_sequences(x_test, maxlen=maxlen)
with:
x_train = pad_sequences(x_train, maxlen=maxlen)
x_test = pad_sequences(x_test, maxlen=maxlen)
The text was updated successfully, but these errors were encountered: