paddlespeech.t2s.training.cli module

paddlespeech.t2s.training.cli.default_argument_parser()[source]

A simple yet genral argument parser for experiments with t2s.

This is used in examples with t2s. And it is intended to be used by other experiments with t2s. It requires a minimal set of command line arguments to start a training script.

The --config and --opts are used for overwrite the deault configuration.

The --data and --output specifies the data path and output path. Resuming training from existing progress at the output directory is the intended default behavior.

The --checkpoint_path specifies the checkpoint to load from.

The --ngpu specifies how to run the training.

Returns:
argparse.ArgumentParser

the parser