【pytorch】torchvision.transforms 图像的变换详解;图像的预处理;数据增强

目录

  • 1 torchvision.transforms下的具体操作
    • 1.1 ToTensor()
    • 1.2 Normalize
    • 1.3 RandomRotation
    • 1.4 Resize
    • 1.5 RandomCrop
    • 1.6 RandomResizedCrop
    • 1.7 RandomHorizontalFlip
    • 1.8 CenterCrop
  • 2 torchvision.transforms使用方法
  • 3 把 transforms 加进模型

torchvision.transforms是包含一系列常用图像变换方法的包,

你可能感兴趣的:(pytorch入门到精通,pytorch,深度学习,python)