Skip to content

MemoryError  #5

Description

@golmo

Hello.

When I try to plot MNIST images across layers, only the two first (conv2d_4 and conv2d_5) are output ok, my CNN model has:

conv2d_7
conv2d_8 <<< last layer with OK output
flatten_4 <<< MemoryError
dense_7
dense_8

MemoryError Traceback (most recent call last)
in
9 size = layer_activation.shape[1] #The feature map has shape (1, size, size, n_features).
10 n_cols = n_features // images_per_row # Tiles the activation channels in this matrix
---> 11 display_grid = np.zeros((size * n_cols, images_per_row * size))
12 for col in range(n_cols): # Tiles each filter into a big horizontal grid
13 for row in range(images_per_row):

Best regards.

Gregorio Del Olmo.

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