Skip to content

allenact_plugins.robothor_plugin.robothor_task_samplers#

[view_source]

ObjectNavTaskSampler#

class ObjectNavTaskSampler(TaskSampler)

[view_source]

ObjectNavTaskSampler.length#

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

[view_source]

Length.

Returns

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]

Check if observation spaces equal.

Returns

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

ObjectNavDatasetTaskSampler#

class ObjectNavDatasetTaskSampler(TaskSampler)

[view_source]

ObjectNavDatasetTaskSampler.__len__#

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

[view_source]

Length.

Returns

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

ObjectNavDatasetTaskSampler.all_observation_spaces_equal#

 | @property
 | all_observation_spaces_equal() -> bool

[view_source]

Check if observation spaces equal.

Returns

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

ObjectNavDatasetTaskSampler.length#

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

[view_source]

Length.

Returns

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

PointNavTaskSampler#

class PointNavTaskSampler(TaskSampler)

[view_source]

PointNavTaskSampler.length#

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

[view_source]

Length.

Returns

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]

Check if observation spaces equal.

Returns

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

PointNavDatasetTaskSampler#

class PointNavDatasetTaskSampler(TaskSampler)

[view_source]

PointNavDatasetTaskSampler.__len__#

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

[view_source]

Length.

Returns

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

PointNavDatasetTaskSampler.all_observation_spaces_equal#

 | @property
 | all_observation_spaces_equal() -> bool

[view_source]

Check if observation spaces equal.

Returns

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

PointNavDatasetTaskSampler.length#

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

[view_source]

Length.

Returns

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

class NavToPartnerTaskSampler(TaskSampler)

[view_source]

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

[view_source]

Length.

Returns

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

 | @property
 | all_observation_spaces_equal() -> bool

[view_source]

Check if observation spaces equal.

Returns

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