From 2f479926c16d2911d0dd878c21de082abfc5b237 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 8 Mar 2016 13:26:28 +0100 Subject: Revive project --- datastream.py | 1 + 1 file changed, 1 insertion(+) (limited to 'datastream.py') diff --git a/datastream.py b/datastream.py index 8025945..b7aae25 100644 --- a/datastream.py +++ b/datastream.py @@ -38,6 +38,7 @@ class BinaryFileDataset(Dataset): return os.fstat(self.f.fileno()).st_size class RandomBlockIterator(IterationScheme): + requests_examples=True def __init__(self, item_range, seq_len, num_seqs_per_epoch, **kwargs): self.seq_len = seq_len self.num_seqs = num_seqs_per_epoch -- cgit v1.2.3