Skip to content

Commit 884b6ca

Browse files
author
Ben King
committed
Fix misnamed variable config -> translate_config
1 parent 7ea711a commit 884b6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

silnlp/nmt/experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def translate(self):
9393
for translate_config in translate_configs.get("translate", []):
9494
translator = TranslationTask(
9595
name=self.name,
96-
checkpoint=config.get("checkpoint", "last"),
96+
checkpoint=translate_config.get("checkpoint", "last"),
9797
use_default_model_dir=self.save_checkpoints,
9898
commit=self.commit,
9999
)

0 commit comments

Comments
 (0)