Hi,
torch.load() just returns the object that was saved. I am not sure in this case what was the original object that was saved. But the file you read contains an OrderedDict from the collections package. This object does not have a method set_glove_path. I think you are not loading the proper .pkl file.