decoder_targets_one_hot = np.zeros((
len(input_sentences),
max_out_len,
num_words_output
),
dtype='float32'
)
I am getting a memory error in the line dtype='float32'. I am stuck in this. How to get through this?
decoder_targets_one_hot = np.zeros((
len(input_sentences),
max_out_len,
num_words_output
),
dtype='float32'
)
I am getting a memory error in the line dtype='float32'. I am stuck in this. How to get through this?
The ndarray
you are trying to initiate is too large when using float32
as the datatype. Either reduce the dimension size or get more ram.