My platform: win10+segnet+pascal
Excuse me, did you perform a minus mean operation on the input data during training?
Seen from the code, there is no such operation.
self.tf = transforms.Compose( [ transforms.ToTensor(), transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]), ]img = self.tf(img)
My platform: win10+segnet+pascal Excuse me, did you perform a minus mean operation on the input data during training? Seen from the code, there is no such operation.
self.tf = transforms.Compose( [ transforms.ToTensor(), transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]), ]
img = self.tf(img)