摘要: ## 定义参数 * dataroot - the path to the root of the dataset folder. We will talk more about the dataset in the next section. * workers - the number of wo 阅读全文
posted @ 2023-06-20 21:41 J1nWan 阅读(111) 评论(0) 推荐(0)
摘要: ```python import torch import torch.nn as nn from torchvision import transforms from PIL import Image, ImageOps import numpy as np ``` ```python img = 阅读全文
posted @ 2023-06-20 12:10 J1nWan 阅读(153) 评论(0) 推荐(0)