From 32b078f28add3d22529e55aeac6674d924e9b510 Mon Sep 17 00:00:00 2001 From: AdeB Date: Wed, 24 Jun 2015 15:28:04 -0400 Subject: Load model parameters only when specified in the config --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train.py') diff --git a/train.py b/train.py index 83317c9..17d5789 100755 --- a/train.py +++ b/train.py @@ -153,7 +153,7 @@ if __name__ == "__main__": Printing(every_n_batches=1000), SaveLoadParams(dump_path, cg, - before_training=True, # before training -> load params + before_training=config.load_model, # before training -> load params every_n_batches=1000, # every N batches -> save params ), ] -- cgit v1.2.3