[Python] How to print shape of training images

Discussão em 'Python' iniciado por Stack, Janeiro 17, 2025.

  1. Stack

    Stack Membro Participativo

    (train_images, train_labels), (test_images, test_labels) = keras.datasets.mnist.load_data()

    train_images = train_images.reshape(train_images.shape[0],28,28,1) test_images = test_images.reshape(test_images.shape[0],28,28,1)

    how to print shape of this reshaped_images

    Code or written answer

    Continue reading...

Compartilhe esta Página