Hi I am trying to do the LSTM project and I can't seem to even get the dataset. I have tried the code in the book and in your code, and I keep getting an error. It says that "allow_pickle = False". To get around this I tried using np.load() but then I got an error "too many values to unpack (expected 2)". Below are the 2 codes I used.
training_set, testing_set = imdb.load_data(index_from = 3)
X_train, y_train = training_set
X_test, y_test = testing_set
training_set, testing_set = np.load("imdb.npz", allow_pickle=True)
X_train, y_train = training_set
X_test, y_test = testing_set
Hi I am trying to do the LSTM project and I can't seem to even get the dataset. I have tried the code in the book and in your code, and I keep getting an error. It says that "allow_pickle = False". To get around this I tried using np.load() but then I got an error "too many values to unpack (expected 2)". Below are the 2 codes I used.
training_set, testing_set = imdb.load_data(index_from = 3)
X_train, y_train = training_set
X_test, y_test = testing_set
training_set, testing_set = np.load("imdb.npz", allow_pickle=True)
X_train, y_train = training_set
X_test, y_test = testing_set