In PyTorch, you can normalize your images with torchvision, ... x = x.type(torch.float32) x = x.permute(-1, 0, 1) x = (x - MEAN[:, None, ...
確定! 回上一頁