Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to resolve this problem #5

Open
narasimha63 opened this issue Nov 14, 2022 · 0 comments
Open

how to resolve this problem #5

narasimha63 opened this issue Nov 14, 2022 · 0 comments

Comments

@narasimha63
Copy link

conv2d
C:\Users\Chinn\AppData\Local\Temp\ipykernel_22868\1831489917.py:14: RuntimeWarning: invalid value encountered in true_divide
channel_image /= channel_image.std()
C:\Users\Chinn\AppData\Local\Temp\ipykernel_22868\1831489917.py:29: UserWarning: Attempting to set identical bottom == top == -0.5 results in singular transformations; automatically expanding.
plt.imshow(display_grid, aspect='auto', cmap='viridis')
average_pooling2d
conv2d_1
average_pooling2d_1
conv2d_2
average_pooling2d_2
conv2d_3
average_pooling2d_3
flatten

MemoryError Traceback (most recent call last)
Input In [16], in <cell line: 1>()
4 size = layer_activation.shape[1] #The feature map has shape (1, size, size, n_features).
5 n_cols = n_features // images_per_row # Tiles the activation channels in this matrix
----> 6 display_grid = np.zeros((size * n_cols, images_per_row * size))
7 for col in range(n_cols): # Tiles each filter into a big horizontal grid
8 for row in range(images_per_row):

MemoryError: Unable to allocate 64.0 GiB for an array with shape (262144, 32768) and data type float64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant