I just download the tutorial code from Pytorch tutorial for transfer model with onnx,
and I try to run it, I found the assertionError, which should mean the Pytorch output be different with caffe2, I am confusing about that…
AssertionError:
Arrays are not almost equal to 3 decimals
(mismatch 99.8875070861678%)
x: array([[[[ 0.383,  0.601,  0.876, …, -0.167, -0.151, -0.149],
[ 0.273,  0.587,  0.949, …, -0.094, -0.168, -0.16 ],
[ 0.147,  0.363,  0.637, …,  0.077, -0.107, -0.186],…
y: array([[[[ 0.383,  1.055,  0.883, …,  0.099, -0.151, -0.149],
[-0.121,  0.061,  0.719, …,  0.133,  0.46 , -0.245],
[ 0.337, -0.409,  0.126, …,  0.161,  1.509,  0.033],…