transforms: ToTensor(), Normalization
The InceptionV3 model in PyTorch is trained on ImageNet. According to the official documentation, it uses the mean and standard deviation of ImageNet for normalization. However, I noticed in the code that the normalization method used is just `ToTensor()`. Wouldn't it be more appropriate to normalize using the mean and standard deviation of ImageNet?

https://pytorch.org/vision/stable/models/generated/torchvision.models.inception_v3.html
关闭于 2024-11-08 2 条评论