If the load_state_dict function does not throw any error, it should be working.
Alternatively, you could print some parameter of a random layer before and after loading the state_dict to make sure it changed.