Your work flow seems to stick to my dummy example, which returns exactly the same output.
However in your case, you still see a huge difference, and I’m not sure at the moment where this might still come from.
Could you use torch.ones for all inputs instead of saving the data?
It should of course still work with the saved data, however there seem to be some mismatch somewhere in the code.