CLI Module

The CLI module provides command-line interface functionality for the M3SGG framework.

Main CLI Interface

Main CLI interface for M3SGG.

This module provides the main CLI interface with command routing and help.

author:

M3SGG Team

version:

0.1.0

Training Commands

Training CLI command implementation.

This module provides the training command implementation for the M3SGG CLI.

author:

M3SGG Team

version:

0.1.0

m3sgg.cli.train.train_command(config: str | None, model: str | None, dataset: str | None, mode: str | None, epochs: int | None, lr: float | None, batch_size: int | None, device: str | None, output: str | None, checkpoint: str | None, verbose: bool, args: List[str])[source]

Execute the training command.

Parameters:
  • config (Optional[str]) – Path to configuration file

  • model (Optional[str]) – Model type to train

  • dataset (Optional[str]) – Dataset to use

  • mode (Optional[str]) – Training mode

  • epochs (Optional[int]) – Number of training epochs

  • lr (Optional[float]) – Learning rate

  • batch_size (Optional[int]) – Batch size

  • device (Optional[str]) – Device to use

  • output (Optional[str]) – Output directory

  • checkpoint (Optional[str]) – Path to checkpoint file

  • verbose (bool) – Enable verbose logging

  • args (List[str]) – Additional arguments

CLI Package

M3SGG CLI package.

This package provides command-line interface functionality for the M3SGG framework.

author:

M3SGG Team

version:

0.1.0

m3sgg.cli.train_command(config: str | None, model: str | None, dataset: str | None, mode: str | None, epochs: int | None, lr: float | None, batch_size: int | None, device: str | None, output: str | None, checkpoint: str | None, verbose: bool, args: List[str])[source]

Execute the training command.

Parameters:
  • config (Optional[str]) – Path to configuration file

  • model (Optional[str]) – Model type to train

  • dataset (Optional[str]) – Dataset to use

  • mode (Optional[str]) – Training mode

  • epochs (Optional[int]) – Number of training epochs

  • lr (Optional[float]) – Learning rate

  • batch_size (Optional[int]) – Batch size

  • device (Optional[str]) – Device to use

  • output (Optional[str]) – Output directory

  • checkpoint (Optional[str]) – Path to checkpoint file

  • verbose (bool) – Enable verbose logging

  • args (List[str]) – Additional arguments