We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
examples/vision/visualizing_what_convnets_learn.py
1 parent 69250f9 commit c1948c9Copy full SHA for c1948c9
examples/vision/visualizing_what_convnets_learn.py
@@ -183,9 +183,9 @@ def deprocess_image(img):
183
for j in range(n):
184
img = all_imgs[i * n + j]
185
stitched_filters[
186
- (cropped_height + margin) * i : (cropped_height + margin) * i + cropped_height,
187
- (cropped_width + margin) * j : (cropped_width + margin) * j
188
- + cropped_width,
+ (cropped_height + margin) * i : (cropped_height + margin) * i
+ + cropped_height,
+ (cropped_width + margin) * j : (cropped_width + margin) * j + cropped_width,
189
:,
190
] = img
191
keras.utils.save_img("stiched_filters.png", stitched_filters)
0 commit comments