I would recommend to load the state_dict, which will automatically map the right parameters and buffers via:
model.load_state_dict(pretrained_model.state_dict())

or do you really need to manually load each parameter and buffer?