Redundant config?
zhengzx-nlp opened this issue · comments
NJUNMT-pytorch/scripts/translate.sh
Line 13 in b598413
NJUNMT-pytorch/scripts/translate.sh
Line 15 in b598413
It seams to be of not necessity to provide src and tgt dicts since config.yaml has been provided.
Ooh ! That's indeed not necessary. Please send a PR to fix this. :)
This issue relates to translate.py
and src/main.py
Line 616 in b598413
@zhengzx-nlp
这个细节,只要允许额外的--target_dict_path覆盖config_path里的参数就好了,就跟你run一个控制台的命令,command后面的参数总能生效是一样的道理。