[인공신경망] Keras 신경망, 수행과정 정보 시각화, 검증 손실, 모델 저장과 적재, 콜백
패션 MNIST 패션 아이템으로 이루어진 이미지 데이터. 손글씨 MNIST와 크기, 개수가 동일하다. 1.Tensorflow 라이브러리에서 적재 from tensorflow import keras (train_input, train_target),(test_input, test_target) = keras.datasets.fashion_mnist.load_data() print ('train :', train_input.shape, train_target.shape) print ('test :', test_input.shape, test_target.shape) 2. 이미지 데이터 확인하기 import matplotlib.pyplot as plt import numpy as np # 첫 10개 이미지 출..
2022. 7. 20.