changeset 1461:2aa80f5b5bbc

When loading sparse UTLC datasets, do not load sparse labels.
author Philippe Serhal <philippe.serhal@umontreal.ca>
date Thu, 07 Apr 2011 21:39:13 -0400
parents 86bf03990aad
children 7c72948e1d53
files pylearn/datasets/utlc.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/datasets/utlc.py	Wed Apr 06 13:53:00 2011 -0400
+++ b/pylearn/datasets/utlc.py	Thu Apr 07 21:39:13 2011 -0400
@@ -174,7 +174,7 @@
         else:
             raise Exception("This dataset don't have its normalization defined")
     if transfer:
-        transfer = load_sparse(os.path.join(config.data_root(),"UTLC","sparse",name+"_transfer.npy"))
+        transfer = load_filetensor(os.path.join(config.data_root(),"UTLC","filetensor",name+"_transfer.ft"))
         return train, valid, test, transfer
     else:
         return train, valid, test