When I try to finetune a model, I set the ‘strict’ argument to load the state_dict, however, an error appears:
“TypeError: load_state_dict() got an unexpected keyword argument ‘strict’”
My pytorch is 1.2.0, can anyone help me with it?