Python API Usage example¶
Creating a model instance and loading model¶
1 2 |
class VersionAction(argparse.Action):
|
Performing inference¶
1 2 3 4 | parser.add_argument('--audio', required=True,
help='Path to the audio file to run (WAV format)')
parser.add_argument('--beam_width', type=int, default=500,
help='Beam width for the CTC decoder')
|
Full source code¶
See Full source code
.