Configure LIBERO Server and Client arguments
mainYou can customize the LIBERO environment by passing environment variables that control the server and client behavior.
Server Configuration (SERVER_ARGS)
Used to customize the loaded checkpoint. These arguments are passed to scripts/serve_policy.py.
--env LIBERO: Sets the environment.--policy:checkpoint: Indicates a checkpoint is being provided.--policy.config <config_name>: Specifies the policy configuration (e.g.,pi05_libero).--policy.dir <path>: Specifies the directory of the custom checkpoint (must be located in the top-levelopenpi/directory).
Client Configuration (CLIENT_ARGS)
Used to customize the task suite. These arguments are passed to examples/libero/main.py.
--args.task-suite-name <name>: Specifies the LIBERO task suite (e.g.,libero_10).
# Example: Loading a custom checkpoint and running the libero_10 task suite
export SERVER_ARGS="--env LIBERO policy:checkpoint --policy.config pi05_libero --policy.dir ./my_custom_checkpoint"
export CLIENT_ARGS="--args.task-suite-name libero_10"