diff datasets/ftfile.py @ 181:f0f47b045cbf

Remove a stray cast in the FTDataSet code and export the ocr dataset.
author Arnaud Bergeron <abergeron@gmail.com>
date Sat, 27 Feb 2010 17:10:37 -0500
parents 76bc047df5ee
children 1faae5079522
line wrap: on
line diff
--- a/datasets/ftfile.py	Sat Feb 27 16:50:16 2010 -0500
+++ b/datasets/ftfile.py	Sat Feb 27 17:10:37 2010 -0500
@@ -202,5 +202,4 @@
 
     def _return_it(self, batchsize, bufsize, ftdata):
         return izip(DataIterator(ftdata.open_inputs(), batchsize, bufsize),
-                   imap(lambda b: theano.tensor.cast(b, 'int32'), 
-                        DataIterator(ftdata.open_outputs(), batchsize, bufsize)))
+                    DataIterator(ftdata.open_outputs(), batchsize, bufsize))