meetps / pytorch-semseg

Semantic Segmentation Architectures Implemented in PyTorch
https://meetshah.dev/semantic-segmentation/deep-learning/pytorch/visdom/2017/06/01/semantic-segmentation-over-the-years.html
MIT License
3.39k stars 797 forks source link

Perform a minus mean operation on the input data during training #207

Open xdsonglinliu opened 5 years ago

xdsonglinliu commented 5 years ago

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)