Transform에 대해 이해해보자

사용자 정의 Dataset, Dataloader, Transforms 작성하기 - PyTorch Tutorials 1.8.1 documentation

transforms.RandomHorizontalFlip(),

transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])

If you read the documentation here, you will see that both parameters are “Sequences for each channel”. Color images have three channels (red, green, blue), therefore you need three parameters to normalize each channel.The first tuple (0.5, 0.5, 0.5) is the mean for all three channels and the second (0.5, 0.5, 0.5) is the standard deviation for all three channels.

왜 mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225] 인가?

Why Pytorch officially use mean=[0.485, 0.456, 0.406] and std=[0.229, 0.224, 0.225] to normalize images?

data_loader에서 num workers를 지정해주는 것

DataLoader num_workers에 대한 고찰

scaler=Gradscaler()란 무엇인가?⇒amp 모듈

[NVIDIA APEX] Amp에 대해 알아보자 (Automatic Mixed Precision)