Moda "mnist" suwretlerin cnn jardeminde kod jaratiw from matplotlib import pyplot



Yüklə 12,35 Kb.
tarix17.05.2022
ölçüsü12,35 Kb.
#87138
Fashion Mist Cnn 6-tapsirma


Moda “MNIST” suwretlerin CNN jardeminde kod jaratiw

from matplotlib import pyplot

from keras.datasets import fashion_mnist

(trainX, trainy), (testX, testy) = fashion_mnist.load_data()

print('Train: X=%s, y=%s' % (trainX.shape, trainy.shape))

print('Test: X=%s, y=%s' % (testX.shape, testy.shape))

for i in range(9):

pyplot.subplot(330 + 1 + i)



pyplot.imshow(trainX[i], cmap=pyplot.get_cmap('gray'))

pyplot.show()
Yüklə 12,35 Kb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə