Untitled
unknown
plain_text
2 years ago
378 B
9
Indexable
import matplotlib
from matplotlib import pyplot
n_filters = 6
ix = 1
fig = pyplot.figure(figsize=(15,10))
for i in range(n_filters):
#get filters
f = filters[:,:,:,i]
for j in range(3):
#subplot for 6 filters and 3 channels
pyplot.subplot(n_filters,3,ix)
pyplot.imshow(f[:,:,j],cmap='gray')
ix+=1
# plot
pyplot.show()Editor is loading...
Leave a Comment