How to load a model properly?

I’ve trained my model and saved it as model.pt file and now I would like to use it to predict new records.

So I’m trying to do the same as my tensorflow code:

model = keras.models.load_model('path/to/location')
prediction = model.predict(my_new_record)

but when I do with pytorch:

model = torch.load('model.pt')
prediction = model(my_new_record)

I get

TypeError: ‘collections.OrderedDict’ object is not callable