Skip to content

Commit dcfeba2

Browse files
Fix typo in mtl/base (#951)
1 parent eb691ff commit dcfeba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ppsci/loss/mtl/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def backward(self) -> None:
6262

6363
def state_dict(self):
6464
agg_state = super().state_dict()
65-
model_state = self.model.state_dictq()
65+
model_state = self.model.state_dict()
6666
# remove model parameters from state dict for already in pdparams
6767
agg_state = {k: v for k, v in agg_state.items() if k not in model_state}
6868
return agg_state

0 commit comments

Comments
 (0)