(self, pclouds, batch_size=50)
return np.vstack(fps_points), np.vstack(fps_idx)
Convenience wrapper of self.get_sample to get the FPS sampled points for a set of input point clouds.
        Args:
            pclouds (N, K, 3) numpy array of N point clouds with K points each.
Convenience wrapper of self.get_sample to get the FPS sampled points for a set of input point clouds.
        Args:
            pclouds (N, K, 3) numpy array of N point clouds with K points each.
Convenience wrapper of self . get_sample to get the FPS sampled points for a set of input point clouds . Args : pclouds ( N K 3 ) numpy array of N point clouds with K points each .
def get_samples(self, pclouds, batch_size=50):
        """ Convenience wrapper of self.get_sample to get the FPS sampled points for a set of input point clouds.
        Args:
            pclouds (N, K, 3) numpy array of N point clouds with K points each.
        """

        fps_points = []
        fps_idx = []
        idx = np.arange(len(pclouds))
        for b in iterate_in_chunks(idx, batch_size):
            curr_fps_points, curr_fps_idx = self.get_sample(pclouds[b])
            fps_points.append(curr_fps_points)
            fps_idx.append(curr_fps_idx)
        return np.vstack(fps_points), np.vstack(fps_idx)
def get_samples ( self , pclouds , batch_size = 50 ) : fps_points = [ ] fps_idx = [ ] idx = np . arange ( len ( pclouds ) ) for b in iterate_in_chunks ( idx , batch_size ) : curr_fps_points , curr_fps_idx = self . get_sample ( pclouds [ b ] ) fps_points . append ( curr_fps_points ) fps_idx . append ( curr_fps_idx ) return np . vstack ( fps_points ) , np . vstack ( fps_idx )