maple.cmd.cli.env.setup_env
- maple.cmd.cli.env.setup_env(env_id: str = <typer.models.ArgumentInfo object>, port: int = <typer.models.OptionInfo object>, task: str = <typer.models.OptionInfo object>, seed: int = <typer.models.OptionInfo object>, env_kwargs: str = <typer.models.OptionInfo object>) None
Initialize an environment with a specific task.
Sets up an environment container to run a particular task. This includes loading the task specification, applying the random seed if provided, and preparing the environment for episode execution.
- Parameters:
port – Daemon port number.
env_id – Identifier of the environment container.
task – Task specification string.
env_kwargs – Model-specific parameters.
seed – Optional random seed for environment initialization.