Skip to content

Personalization Enablers: Command Line Interface (CLI)

Matteo Besenzoni edited this page Apr 22, 2026 · 4 revisions

Target Audience: software developers


Overview

The Command-Line Interface (CLI) is an automated interface that facilitates access to the enablers’ functionalities within the XR2Learn ecosystem. The CLI provides unified commands to train, test, and deploy enablers without manually handling Docker containers or configuration files.

It includes simplified installation and commands, pre-configured scripts for common use cases, and benchmarks to evaluate the end-to-end pipeline, serving as an integration test for the system.

Screenshot of the XR2Learn command-line interface showing pipeline orchestration and execution status

Figure: Command Line Interface overview.

Installation

The CLI is distributed as part of the XR2Learn enablers repository and relies on Docker to orchestrate the execution of training, inference, and personalization components.

Before using the CLI, ensure the following dependencies are installed:

  • Docker
  • Docker Compose
  • Python (for configuration and scripting, if required)

Usage and Example Commands

The CLI provides high-level commands that wrap common workflows across the enablers.

Example: Run the training pipeline for the audio modality using RAVDESS dataset: python xr2learn_enablers_cli/xr2learn_enablers.py --experiment_id development-model train --dataset ravdess --features_type ssl --ssl_pre_train encoder_fe --ed_training true

More examples are included in the Personalization-Enablers-CLI repository.

Integration with Other Enablers

The CLI orchestrates the execution of Training Tools, Inference Tools, and the Personalization Tool using a unified configuration. It simplifies end-to-end experimentation by managing container lifecycles, data paths, and inter-enabler communication, enabling reproducible and automated workflows.

See also

Relevant GitHub repository

XR2Learn Personalization Enablers - Personalization Enablers CLI

Clone this wiki locally