Hi, All
I have received a running time in C++ on libtorch about torch::jit as:
terminate called after throwing an instance of ‘c10::Error’
what():  torch::jit::load() received a file from torch.save(), but torch::jit::load() can only load files produced by torch.jit.save()
Exception raised from load at /pytorch/torch/csrc/jit/serialization/import.cpp:347 (most recent call first):
but in the C++ code, I have only used torch::load and torch::save. I didnot use torch::jit::load()
Any suggestions on how to fix the issue please ?
Thanks,