Commit bbd2f70507686dc2166854205b4caa58abf0dc91
1 parent
1b14c343
Exists in
master
and in
1 other branch
cropping.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
mdata/ILSVRC.py
... | ... | @@ -450,7 +450,7 @@ class DataILSVRC(DataDumperBase): |
450 | 450 | for line in tsvfile: |
451 | 451 | hash = line[0] |
452 | 452 | tag = line[-1] |
453 | - image = os.path.join(self.data_dir, hash[:3], hash[3:] + '.jpg') | |
453 | + image = os.path.join(self.img_dir, hash[:3], hash[3:] + '.jpg') | |
454 | 454 | if image: |
455 | 455 | im = Jpeg(image, key=sample_key) |
456 | 456 | dict_dataset[hash] = (tag, im.getCoefBlocks('Y')) | ... | ... |