Mercurial > pylearn
diff dataset.py @ 66:dde1fb1b63ba
fixed test and removed print
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Fri, 02 May 2008 11:24:17 -0400 |
parents | d48eba49a2f4 |
children | 2b6656b2ef52 40476a7746e8 |
line wrap: on
line diff
--- a/dataset.py Fri May 02 11:10:20 2008 -0400 +++ b/dataset.py Fri May 02 11:24:17 2008 -0400 @@ -553,7 +553,7 @@ dataset = FieldsSubsetDataSet(dataset,fieldnames) assert dataset.hasFields(*fieldnames) self.dataset=dataset - print type(dataset) + if isinstance(dataset,MinibatchDataSet): LookupList.__init__(self,fieldnames,list(dataset._fields)) elif isinstance(original_dataset,MinibatchDataSet):