diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-01-28 02:36:03 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-01-28 02:36:03 -0500 |
commit | 3e22fcc3569a2855f691be4e3ee81f644b926c04 (patch) | |
tree | 43512af6bea6284552a3953474e83fa8bd2bd4c7 /training | |
parent | 827eae2d1d2f62c00db21e1d43aabf904dd8ff8d (diff) |
what did i do
Diffstat (limited to 'training')
-rwxr-xr-x | training/mira/mira.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py index d5a1d9f8..c84a8cff 100755 --- a/training/mira/mira.py +++ b/training/mira/mira.py @@ -443,7 +443,7 @@ def optimize(args, script_dir, dev_size): new_weights_file = '{}/weights.{}'.format(args.output_dir, i+1) last_weights_file = '{}/weights.{}'.format(args.output_dir, i) i += 1 - weight_files = args.output_dir+'/weights.pass*/weights.mira-pass*[0-9].gz' + weight_files = weightdir+'/weights.mira-pass*.*[0-9].gz' average_weights(new_weights_file, weight_files) logging.info('BEST ITERATION: {} (SCORE={})'.format( |