mai202:

Does input to pytorch model gets normalized in the same way as caffe2 model?


Where do you have the caffe2 model from?
As a debugging step I would recommend to pass an input with constant values to both models and compare the outputs (e.g. torch.ones()).
If the outputs are equal, the issue is most likely created in the preprocessing of the data.