I think this means you’re not having the right format.
Note that PyTorch 1.6 changed the default serialization format of Python’s torch.save, which may bring a better experience moving between Python and C++.
Best regards
Thomas