diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-07-28 09:48:31 -0400 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-07-28 09:48:31 -0400 |
commit | 7c15286b6dadd1adc1f7406faed402a4bfe770f3 (patch) | |
tree | ad40a2ed76a64eb5402d93ac97dd0a493aa7b40f /train.py | |
parent | 1c8241ab7a5e933c8a3452b407a1be054467613b (diff) | |
download | taxi-7c15286b6dadd1adc1f7406faed402a4bfe770f3.tar.gz taxi-7c15286b6dadd1adc1f7406faed402a4bfe770f3.zip |
Memory net changes
Diffstat (limited to 'train.py')
-rwxr-xr-x | train.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -114,14 +114,15 @@ if __name__ == "__main__": extensions=[TrainingDataMonitoring(monitored, prefix='train', every_n_batches=monitor_freq), DataStreamMonitoring(valid_monitored, valid_stream, prefix='valid', - every_n_batches=monitor_freq), + every_n_batches=monitor_freq, + after_epoch=False), Printing(every_n_batches=monitor_freq), FinishAfter(every_n_batches=10000000), SaveLoadParams(dump_path, cg, before_training=True, # before training -> load params every_n_batches=monitor_freq,# every N batches -> save params - after_epoch=True, # after epoch -> save params + after_epoch=False, after_training=True, # after training -> save params ), |