def __init__(self, feature_size, target_size, one_hot=True, num_blocks=30, **kwargs):

        """
        DESCRIPTION:
            This is class for processing blocks of data.
        PARAM:
            data_paths(list): contains the paths to the numpy data files. It's a
                            list of tuples whereby the first element of the tuple
                            is the X path, and the second is the y path.
        """
        dir = '/scratch/stuwzhz/dataset/npy'
        if one_hot:
            self.data_paths = [('%s/ClnDNN_NoisyFeat.post_%.3d.npy'%(dir,i), '%s/onehot_clean.pdf_%.3d.npy'%(dir,i)) for i in xrange(num_blocks)]
        else:
            self.data_paths = [('%s/ClnDNN_NoisyFeat.post_%.3d.npy'%(dir,i), '%s/clean.pdf_%.3d.npy'%(dir,i)) for i in xrange(num_blocks)]
        super(I2R_Posterior_Blocks_ClnDNN_NoisyFeat, self).__init__(feature_size=feature_size,
                                                             target_size=target_size,
                                                             data_paths=self.data_paths,
                                                             **kwargs)
dataset/ETHPy150Open hycis/Pynet/pynet/datasets/i2r.py/I2R_Posterior_Blocks_ClnDNN_NoisyFeat.__init__/original