AI
미술관에 GAN 딥러닝 실전 프로젝트 - 2.3 - 첫 번째 심층 신경망
CIFAR-10 데이터셋 32 x 32 픽셀 크기 컬러 이미지 60,000개 구성 import numpy as np from keras.utils import to_categorical from keras.datasets import cifar10 (x_train, y_train), (x_test, y_test) = cifar10.load_data() NUM_CLASSES = 10 x_train = x_train.astype('float32') / 255.0 # 50000, 32, 32, 3 x_test = x_test.astype('float32') / 255.0 # 10000, 32, 32, 3 numpy 배열 y_train = to_categorical(y_train, NUM_CLASSES) # 5..
2021. 9. 6. 09:05
최근댓글