espnet3.bin.clone.command.run
Less than 1 minute
espnet3.bin.clone.command.run
espnet3.bin.clone.command.run(args) → int
Copy an egs3 recipe’s source and configuration into a new project directory.
Copy src/, conf/, dataset/, root Python files, README files and requirements files. Skip hidden entries, caches and directory symlinks. File symlinks are copied as regular files; path.sh is not copied. Use Python from an environment with ESPnet installed.
- Parameters:args – Parsed CLI arguments containing a
<dataset>/<task>recipe and an optional destination directory. - Raises:
- FileNotFoundError – If the requested recipe is unavailable locally.
- FileExistsError – If the destination already exists.
- ValueError – If the recipe identifier has an invalid format.
Examples
```python import argparse
run(argparse.Namespace( : list=False, recipe=”mini_an4/esp2_asr”, project=”my_asr”))
```