Closed ugsup closed 1 year ago
How did you load it? I have similar problem.
The torch_load() and torch_save() methods(https://github.com/locuslab/FLYP/blob/main/src/models/utils.py) here use the pickle library, but for some unknown reason this does not work. So instead of pickle.dumb() and pickle.load() I simply used the load and save methods of pytorch.
How can I load the checkpoints that were saved during the training? I can't open the checkpoint.pt file with torch.load.