allenact_plugins.gym_plugin.gym_tasks
#
GymTask
#
class GymTask(Task[gym.Env])
Abstract gym task.
Subclasses need to implement class_action_names
and _step
.
GymContinuousTask
#
class GymContinuousTask(GymTask)
Task for a continuous-control gym Box2D & MuJoCo Env; it allows interfacing allenact with gym tasks.
task_selector
#
task_selector(env_name: str) -> type
Helper function for GymTaskSampler
.
sensor_selector
#
sensor_selector(env_name: str) -> Sensor
Helper function for GymTaskSampler
.
GymTaskSampler
#
class GymTaskSampler(TaskSampler)
TaskSampler for gym environments.