Open kosstbarz opened 6 years ago
When calculating mean and variance, factor layer['weights'][2] should be considered. Line 199: mean = layer['weights'][0] / layer['weights'][2]
mean = layer['weights'][0] / layer['weights'][2]
But the value in Resenet-50 is always 1 for layer['weights'][2] from the extracted caffe model and result is not matching. Something is still missing
When calculating mean and variance, factor layer['weights'][2] should be considered. Line 199:
mean = layer['weights'][0] / layer['weights'][2]