Closed kannan500 closed 4 years ago
https://github.com/jiecaoyu/XNOR-Net-PyTorch/blob/ebccb503b2f9ebc96187a75b6daa63d95b61d110/ImageNet/datasets/transforms.py#L58 In this line,you are describing Normalisation ,but I have a doubt... @jiecaoyu How you find mean and variance during inference?
In inference,Are you using the mean and variance from training ?
The mean and variance are computed using the script described here. They will not change through the training.
https://github.com/jiecaoyu/XNOR-Net-PyTorch/blob/ebccb503b2f9ebc96187a75b6daa63d95b61d110/ImageNet/datasets/transforms.py#L58 In this line,you are describing Normalisation ,but I have a doubt... @jiecaoyu How you find mean and variance during inference?