Skip to content

allenact_plugins.habitat_plugin.habitat_task_samplers#

[view_source]

PointNavTaskSampler#

class PointNavTaskSampler(TaskSampler)

[view_source]

PointNavTaskSampler.length#

 | @property
 | length() -> Union[int, float]

[view_source]

@return: Number of total tasks remaining that can be sampled. Can be float('inf').

PointNavTaskSampler.all_observation_spaces_equal#

 | @property
 | all_observation_spaces_equal() -> bool

[view_source]

@return: True if all Tasks that can be sampled by this sampler have the same observation space. Otherwise False.

ObjectNavTaskSampler#

class ObjectNavTaskSampler(TaskSampler)

[view_source]

ObjectNavTaskSampler.length#

 | @property
 | length() -> Union[int, float]

[view_source]

@return: Number of total tasks remaining that can be sampled. Can be float('inf').

ObjectNavTaskSampler.all_observation_spaces_equal#

 | @property
 | all_observation_spaces_equal() -> bool

[view_source]

@return: True if all Tasks that can be sampled by this sampler have the same observation space. Otherwise False.