From bbd2f70507686dc2166854205b4caa58abf0dc91 Mon Sep 17 00:00:00 2001 From: Chunk Date: Mon, 20 Apr 2015 11:13:57 +0800 Subject: [PATCH] cropping. --- mdata/ILSVRC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdata/ILSVRC.py b/mdata/ILSVRC.py index 17e1cf6..0c62612 100644 --- a/mdata/ILSVRC.py +++ b/mdata/ILSVRC.py @@ -450,7 +450,7 @@ class DataILSVRC(DataDumperBase): for line in tsvfile: hash = line[0] tag = line[-1] - image = os.path.join(self.data_dir, hash[:3], hash[3:] + '.jpg') + image = os.path.join(self.img_dir, hash[:3], hash[3:] + '.jpg') if image: im = Jpeg(image, key=sample_key) dict_dataset[hash] = (tag, im.getCoefBlocks('Y')) -- libgit2 0.21.2