I'm Raoult, a new python developer. I would like to simulate code on python. It shows me this error, please can you help me solve it in the code.
Thank you for your assistance.
xception has occurred: MemoryError
Unable to allocate 574. TiB for an array with shape (30734400, 5132157) and data type float32
File "C:\Test1\utils\keras_utils.py", line 133, in train_model
y_train = to_categorical(y_train, len(np.unique(y_train)))
File "C:\Test1\acvitivity_model.py", line 196, in
train_model(model, DATASET_INDEX, dataset_prefix='activity_attention', epochs=1000, batch_size=128)
I'm Raoult, a new python developer. I would like to simulate code on python. It shows me this error, please can you help me solve it in the code.
Thank you for your assistance.
xception has occurred: MemoryError
Unable to allocate 574. TiB for an array with shape (30734400, 5132157) and data type float32
File "C:\Test1\utils\keras_utils.py", line 133, in train_model
y_train = to_categorical(y_train, len(np.unique(y_train)))
File "C:\Test1\acvitivity_model.py", line 196, in
train_model(model, DATASET_INDEX, dataset_prefix='activity_attention', epochs=1000, batch_size=128)