Skip to content

lit_sb3.core.cli

source package lit_sb3.core.cli

Argument-parsing helpers and logic runners for each lit-sb3 CLI sub-command.

Functions

  • run_all_plots — Execute the all_plots command with pre-parsed args.

  • run_benchmark — Run benchmark evaluation over all trained models and generate a report.

  • run_enjoy — Execute the enjoy command with pre-parsed args.

  • run_load_from_hub — Execute the load-from-hub command with pre-parsed args.

  • run_plot_from_file — Execute the plot_from_file command with pre-parsed args.

  • run_plot_train — Execute the plot_train command with pre-parsed args.

  • run_push_to_hub — Execute the push-to-hub command with pre-parsed args.

  • run_record_training — Record training videos from checkpoints and stitch them together.

  • run_record_video — Execute record-video from a parsed :class:argparse.Namespace.

  • run_train — Execute the train command with pre-parsed args.

source run_all_plots(args: argparse.Namespace) → None

Execute the all_plots command with pre-parsed args.

Raises

  • ImportError

source run_benchmark(args: argparse.Namespace) → None

Run benchmark evaluation over all trained models and generate a report.

source run_enjoy(args: argparse.Namespace) → None

Execute the enjoy command with pre-parsed args.

source run_load_from_hub(args: argparse.Namespace) → None

Execute the load-from-hub command with pre-parsed args.

source run_plot_from_file(args: argparse.Namespace) → None

Execute the plot_from_file command with pre-parsed args.

Raises

  • ImportError

source run_plot_train(args: argparse.Namespace) → None

Execute the plot_train command with pre-parsed args.

Raises

  • ImportError

source run_push_to_hub(args: argparse.Namespace) → None

Execute the push-to-hub command with pre-parsed args.

source run_record_training(args: argparse.Namespace) → None

Record training videos from checkpoints and stitch them together.

source run_record_video(args: argparse.Namespace) → None

Execute record-video from a parsed :class:argparse.Namespace.

source run_train(args: argparse.Namespace) → None

Execute the train command with pre-parsed args.

Raises

  • ValueError

  • ImportError