Digits 썸네일형 리스트형 Python(31)- 데이터 로더 *이 글을 읽기전에 작성자 개인의견이 있으니, 다른 블로그와 교차로 읽는것을 권장합니다.*1. 데이터 로더(Data Loader)데이터의 양이 많을 때 배치 단위로 학습하는 방법을 제공2. 손글씨 인식 모델 만들기import torchimport torch.nn as nnimport torch.optim as optimimport matplotlib.pyplot as pltfrom sklearn.datasets import load_digitsfrom sklearn.model_selection import train_test_split# 런타임 유형 변경 -> GPU 로 변경device = 'cuda' if torch.cuda.is_available() else 'cpu'print(device)digit.. 더보기 이전 1 다음