Hello,
I’m working on multiple remote machines, which share a directory (minIO)
In one of them, I have a trained model named epoch10.pt, I’ve moved it into the minIO using the Linux cp command, then copied it yet again to the other machine, now when I try to load the model using: model = torch.load(hyper_params['model_path'])
I’m getting the error: Exception has occurred: RuntimeError Invalid magic number; corrupt file?
If the hyper_params['model_path'] is the output of torch.save(model, path), it would difficult to load that file in other directories as explained in the tutorial: