Skip to content Skip to sidebar Skip to footer

Keras With Tensorflow Backend---memoryerror

I am trying to follow this tutorial to learn a bit about deep learning with keras, however I keep getting MemoryError. Can you please point out what is causing it and how to take c

Solution 1:

Yes, you are correct. The problem does arise from vectorize_sequences.

You should do that logic in batches (with slicing data like for partial_x_train) or use generators (here is a good explanation and example).

I hope this helps :)

Post a Comment for "Keras With Tensorflow Backend---memoryerror"