deeplearning #딥러닝 #cnn #cifar1 CNN(합성곱 신경망) ③ [CIFAR-10] # 필요한 기본 라이브러리 import import random import torch import numpy as np import os import pandas as pd # 랜덤시드 고정하기 seed = 42 random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) if torch.cuda.is_available(): torch.cuda.manual_seed(seed) torch.cuda.manual_seed_all(seed) torch.backends.cudnn.benchmark = False torch.backends.cudnn.deterministic = True 1. Load CIFAR-10 Dataset from torchvision... 2024. 4. 14. 이전 1 다음