in data_loaders.py [0:0]
def get_gt_points(self, obj_class, obj):
samples = np.load(self.surf_location +obj_class + '/' + obj + '.npy')
if self.args.eval:
np.random.seed(0)
np.random.shuffle(samples)
gt_points = torch.FloatTensor(samples[:self.sample_num])
gt_points *= .5 # scales the models to the size of shape we use
gt_points[:, -1] += .6 # this is to make the hand and the shape the right releative sizes
return gt_points