diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-05-06 11:56:01 -0400 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-05-06 11:56:14 -0400 |
commit | 1ff071800fc876eb6f2c25fe0eb1f7dc64efe0be (patch) | |
tree | 228a75e8c4622d52bef5a89dbe0b8723b14e9e91 | |
parent | 0b4b65cb3d88ac4818e71ccef0bded3ddee0683c (diff) | |
download | taxi-1ff071800fc876eb6f2c25fe0eb1f7dc64efe0be.tar.gz taxi-1ff071800fc876eb6f2c25fe0eb1f7dc64efe0be.zip |
Add Bokeh plotting
-rwxr-xr-x | train.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,7 @@ from blocks.main_loop import MainLoop from blocks.extensions import Printing, FinishAfter from blocks.extensions.saveload import Dump, LoadFromDump, Checkpoint from blocks.extensions.monitoring import DataStreamMonitoring, TrainingDataMonitoring +from blocks.extensions.plot import Plot from data import transformers from data.hdf5 import TaxiDataset, TaxiStream @@ -103,6 +104,7 @@ def main(): prefix='valid', every_n_batches=1000), Printing(every_n_batches=1000), + Plot(model_name, channels=[['valid_cost']], every_n_batches=1000), # Checkpoint('model.pkl', every_n_batches=100), Dump('model_data/' + model_name, every_n_batches=1000), LoadFromDump('model_data/' + model_name), |