aboutsummaryrefslogtreecommitdiff
path: root/train.py
diff options
context:
space:
mode:
authorAdeB <adbrebs@gmail.com>2015-06-24 15:28:04 -0400
committerAdeB <adbrebs@gmail.com>2015-06-24 15:28:04 -0400
commit32b078f28add3d22529e55aeac6674d924e9b510 (patch)
treec50a6f6cfcb978555d767706cdfdab4c75153207 /train.py
parent88cdc3f8047a05bc5971eaa915ca6626f89a3e78 (diff)
downloadtaxi-32b078f28add3d22529e55aeac6674d924e9b510.tar.gz
taxi-32b078f28add3d22529e55aeac6674d924e9b510.zip
Load model parameters only when specified in the config
Diffstat (limited to 'train.py')
-rwxr-xr-xtrain.py2
1 files changed, 1 insertions, 1 deletions
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
),
]