Record the little trick when defining the model loading --state_dict or the strict function of torch.nn.Module.load_state_dict()

NoSuchKey

Guess you like

Origin blog.csdn.net/qq_40962125/article/details/134639968