mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
fix extra settings
This commit is contained in:
parent
cd3d2b0428
commit
d59bb883dc
@ -170,11 +170,12 @@ def main(options):
|
||||
else:
|
||||
if not options.extra_settings:
|
||||
options.extra_settings = ""
|
||||
options.extra_settings += "--null_index %d " % null_id
|
||||
if options.dropout or options.input_dropout:
|
||||
options.extra_settings += " --null_index %d " % null_id
|
||||
if options.dropout:
|
||||
options.extra_settings += "--dropout %s " % options.dropout
|
||||
options.extra_settings += " --dropout %s " % options.dropout
|
||||
if options.input_dropout:
|
||||
options.extra_settings += "--input_dropout %s " % options.input_dropout
|
||||
options.extra_settings += " --input_dropout %s " % options.input_dropout
|
||||
|
||||
|
||||
if options.mmap:
|
||||
|
Loading…
Reference in New Issue
Block a user