How to ignore and initialize Missing key(s) in state_dict
My saved state_dict does not contain all the layers that are in my model.
How can I ignore the Missing key(s) in state_dict error and initialize the remaining weights?

This can be achieved by passing strict=False to load_state_dict.
load_state_dict(state_dict, strict=False)

Documentation
