Fix warning in plot_gabors_from_astronaut

This commit is contained in:
Johannes Schönberger
2016-01-31 18:29:36 +01:00
parent 20e1fcdbbb
commit e3287c8cda
@@ -51,7 +51,7 @@ np.random.seed(42)
patch_shape = 8, 8
n_filters = 49
astro = color.rgb2gray(data.astronaut())
astro = np.ascontiguousarray(color.rgb2gray(data.astronaut()))
# -- filterbank1 on original image
patches1 = view_as_windows(astro, patch_shape)