-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Running the code gives me the following error:
Data length: 3204677 characters
Vocabulary size: 94 characters
Traceback (most recent call last):
File "recurrent_keras.py", line 36, in
X, y, VOCAB_SIZE, ix_to_char = load_data(DATA_DIR, SEQ_LENGTH)
File "/home/boris/text-generator/RNN_utils.py", line 30, in load_data
X = np.zeros((len(data)/seq_length, seq_length, VOCAB_SIZE))
MemoryError
If I make the training data file smaller (e.g. 200kb) it works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels