【转】pytorch_torch.transforms常用参数

mnist是灰度图,给出的应该是transforms.Normalize((0.1307 ), (0.3081 ))
cifar10是transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))
imagenet是([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])

原文链接:https://blog.csdn.net/weixin_45885232/article/details/103962583

猜你喜欢

转载自blog.csdn.net/a_piece_of_ppx/article/details/123118150
今日推荐