This line of code loads a state_dict not a model object:
model = torch.load(model_path)

which is why the following call fails:
model.load_state_dict(loaded_model[‘state_dict’])
> AttributeError: ‘collections.OrderedDict’ object has no attribute ‘load_state_dict’

To properly load the model, create the model instance first and load the state_dict afterwards:
model = MyModel()
model.load_state_dict(torch.load(model_path))