From 6d5dd44c5b6c6e0f7eecc5997b484b40f35c0074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Simon?= Date: Thu, 23 Jul 2015 12:59:58 -0400 Subject: Remove add_destination calls --- model/bidirectional.py | 2 -- model/rnn.py | 1 - 2 files changed, 3 deletions(-) (limited to 'model') diff --git a/model/bidirectional.py b/model/bidirectional.py index 1d697d6..149d1fd 100644 --- a/model/bidirectional.py +++ b/model/bidirectional.py @@ -116,7 +116,6 @@ class Stream(object): stream = Unpack(stream) stream = transformers.taxi_add_datetime(stream) - stream = transformers.add_destination(stream) stream = transformers.Select(stream, tuple(v for v in req_vars if not v.endswith('_mask'))) stream = transformers.balanced_batch(stream, key='latitude', batch_size=self.config.batch_size, batch_sort_size=self.config.batch_sort_size) @@ -131,7 +130,6 @@ class Stream(object): stream = TaxiStream(self.config.valid_set, 'valid.hdf5') stream = transformers.taxi_add_datetime(stream) - stream = transformers.add_destination(stream) stream = transformers.Select(stream, tuple(v for v in req_vars if not v.endswith('_mask'))) stream = Batch(stream, iteration_scheme=ConstantScheme(self.config.batch_size)) diff --git a/model/rnn.py b/model/rnn.py index d3f6616..70d054a 100644 --- a/model/rnn.py +++ b/model/rnn.py @@ -165,7 +165,6 @@ class Stream(object): def valid(self, req_vars): stream = TaxiStream(self.config.valid_set, 'valid.hdf5') stream = transformers.taxi_add_datetime(stream) - stream = transformers.add_destination(stream) stream = transformers.Select(stream, tuple(v for v in req_vars if not v.endswith('_mask'))) stream = Batch(stream, iteration_scheme=ConstantScheme(self.config.batch_size)) -- cgit v1.2.3