Skip to content

LSTM-FCN Help #23

Description

@teukam-dabou

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions