Mercurial > ift6266
changeset 69:6d87c0df2b0e
Forgot a close in add_background_image
author | Xavier Glorot <glorotxa@iro.umontreal.ca> |
---|---|
date | Tue, 09 Feb 2010 22:17:37 -0500 |
parents | ee6a788557b6 |
children | be24db3a4d6e |
files | transformations/add_background_image.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/transformations/add_background_image.py Tue Feb 09 22:16:22 2010 -0500 +++ b/transformations/add_background_image.py Tue Feb 09 22:17:37 2010 -0500 @@ -19,6 +19,7 @@ self.bg_image_file = '/data/lisa/data/ift6266h10/image_net/filelist.pkl' f=open(self.bg_image_file) self.image_files = cPickle.load(f) + f.close() # get threshold value def get_settings_names(self):