habitat.datasets.rearrange.samplers.scene_sampler.SceneSampler class

Abstract Class Samples a scene for the RearrangeGenerator.

Methods

def num_scenes(self)
Get the number of scenes available from this sampler.
def sample(self)
Sample a scene.
def set_cur_episode(self, cur_episode: int) -> None
Set the current episode index. Used by some sampler implementations which pivot on the total number of successful episodes generated thus far.