We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb691ff commit dcfeba2Copy full SHA for dcfeba2
ppsci/loss/mtl/base.py
@@ -62,7 +62,7 @@ def backward(self) -> None:
62
63
def state_dict(self):
64
agg_state = super().state_dict()
65
- model_state = self.model.state_dictq()
+ model_state = self.model.state_dict()
66
# remove model parameters from state dict for already in pdparams
67
agg_state = {k: v for k, v in agg_state.items() if k not in model_state}
68
return agg_state
0 commit comments