(self, X)
return fps_points, fps_idx
Sample fps points from input data.
Sample fps points from input data.
Sample fps points from input data .
def get_sample(self, X):
        """Sample fps points from input data."""
        assert (
            self.configuration.exists_and_is_not_none("use_fps")
            and self.configuration.use_fps
        ), "For getting FPS sampled point clouds, use_fps flag should be on"

        fps_points, fps_idx = self.sess.run((self.s, self.idx), feed_dict={self.x: X})

        return fps_points, fps_idx
def get_sample ( self , X ) : assert ( self . configuration . exists_and_is_not_none ( "use_fps" ) and self . configuration . use_fps ) , "For getting FPS sampled point clouds, use_fps flag should be on" fps_points , fps_idx = self . sess . run ( ( self . s , self . idx ) , feed_dict = { self . x : X } ) return fps_points , fps_idx