[혼공딥] CHAPTER 08-2 합성곱 신경망을 사용한 이미지 분류
1. 패션 MNIST 데이터 불러오기 from tensorflow import keras from sklearn.model_selection import train_test_split (train_input, train_target), (test_input, test_target) = keras.datasets.fashion_mnist.load_data() train_scaled = train_input.reshape(-1, 28, 28, 1) / 255.0 #48000개, 너비28, 높이28, 채널차원 1 #train_scaled = train_input.reshape(-1, 28, 28, 1) #train_scaled = train_scaled / 255.0 train_scaled, val_scale..