'Same as in :class:`ILSVRC12`.'

def __init__(self, dir, name, meta_dir=None, shuffle=None, dir_structure='original'):

    assert (name in ['train', 'test', 'val']), name
    assert os.path.isdir(dir), dir
    self.full_dir = os.path.join(dir, name)
    self.name = name
    assert os.path.isdir(self.full_dir), self.full_dir
    if (shuffle is None):
        shuffle = (name == 'train')
    self.shuffle = shuffle
    meta = ILSVRCMeta(meta_dir)
    self.imglist = meta.get_image_list(name, dir_structure)
    for (fname, _) in self.imglist[:10]:
        fname = os.path.join(self.full_dir, fname)
        assert os.path.isfile(fname), fname
