I am working on a Siamese structured model, it was trained in PyTorch-0.4.1. I have implemented the inference in the same version of PyTorch, that works. But inferring on a system with PyTorch-0.4.0 gives the following issue:

Unexpected key(s) in state_dict: “bn1.num_batches_tracked”, “bn2.num_batches_tracked”, “bn3.num_batches_tracked”, “bn4.num_batches_tracked”, “bn5.num_batches_tracked”.

I don’t have a clue on what is wrong. Upgrading from 0.4.0 to 0.4.1 will solve, but can I solve without the upgrade.
Please help.