In C++ Exporting and Loading Torch Module as iostream fails

Maybe you want to take a look at this post:

I had similar issues some time ago and using binary streams fixed the issue.

1 Like