(self, basepath, useCache=True, cacheDir='./cache/', refineNet=None, allJoints=False)
Constructor
        :param basepath: base path of the ICVL dataset
        :return:
Constructor
        :param basepath: base path of the ICVL dataset
        :return:
Constructor : param basepath : base path of the ICVL dataset : return :
def __init__(self, basepath, useCache=True, cacheDir='./cache/', refineNet=None, allJoints=False):
        """
        Constructor
        :param basepath: base path of the ICVL dataset
        :return:
        """

        super(NYUImporter, self).__init__(588.03, 587.07, 320., 240.)

        self.depth_map_size = (640, 480)
        self.basepath = basepath
        self.useCache = useCache
        self.cacheDir = cacheDir
        self.allJoints = allJoints
        self.numJoints = 36
        if self.allJoints:
            self.crop_joint_idx = 32
        else:
            self.crop_joint_idx = 13
        self.default_cubes = {'train': (300, 300, 300),
                              'test_1': (300, 300, 300),
                              'test_2': (250, 250, 250),
                              'test': (300, 300, 300),
                              'train_synth': (300, 300, 300),
                              'test_synth_1': (300, 300, 300),
                              'test_synth_2': (250, 250, 250),
                              'test_synth': (300, 300, 300)}
        self.sides = {'train': 'right', 'test_1': 'right', 'test_2': 'right', 'test': 'right', 'train_synth': 'right',
                      'test_synth_1': 'right', 'test_synth_2': 'right', 'test_synth': 'right'}
        # joint indices used for evaluation of Tompson et al.
        self.restrictedJointsEval = [0, 3, 6, 9, 12, 15, 18, 21, 24, 25, 27, 30, 31, 32]
        self.refineNet = refineNet
def __init__ ( self , basepath , useCache = True , cacheDir = './cache/' , refineNet = None , allJoints = False ) : super ( NYUImporter , self ) . __init__ ( 588.03 , 587.07 , 320. , 240. ) self . depth_map_size = ( 640 , 480 ) self . basepath = basepath self . useCache = useCache self . cacheDir = cacheDir self . allJoints = allJoints self . numJoints = 36 if self . allJoints : self . crop_joint_idx = 32 else : self . crop_joint_idx = 13 self . default_cubes = { 'train' : ( 300 , 300 , 300 ) , 'test_1' : ( 300 , 300 , 300 ) , 'test_2' : ( 250 , 250 , 250 ) , 'test' : ( 300 , 300 , 300 ) , 'train_synth' : ( 300 , 300 , 300 ) , 'test_synth_1' : ( 300 , 300 , 300 ) , 'test_synth_2' : ( 250 , 250 , 250 ) , 'test_synth' : ( 300 , 300 , 300 ) } self . sides = { 'train' : 'right' , 'test_1' : 'right' , 'test_2' : 'right' , 'test' : 'right' , 'train_synth' : 'right' , 'test_synth_1' : 'right' , 'test_synth_2' : 'right' , 'test_synth' : 'right' } # joint indices used for evaluation of Tompson et al. self . restrictedJointsEval = [ 0 , 3 , 6 , 9 , 12 , 15 , 18 , 21 , 24 , 25 , 27 , 30 , 31 , 32 ] self . refineNet = refineNet