|
|
@ -86,6 +86,12 @@ parser.add_argument(
|
|
|
|
default=500,
|
|
|
|
default=500,
|
|
|
|
type=int,
|
|
|
|
type=int,
|
|
|
|
help="Width for beam search decoding. (default: %(default)d)")
|
|
|
|
help="Width for beam search decoding. (default: %(default)d)")
|
|
|
|
|
|
|
|
parser.add_argument(
|
|
|
|
|
|
|
|
"--specgram_type",
|
|
|
|
|
|
|
|
default='linear',
|
|
|
|
|
|
|
|
type=str,
|
|
|
|
|
|
|
|
help="Feature type of audio data: 'linear' (power spectrum)"
|
|
|
|
|
|
|
|
" or 'mfcc'. (default: %(default)s)")
|
|
|
|
parser.add_argument(
|
|
|
|
parser.add_argument(
|
|
|
|
"--decode_manifest_path",
|
|
|
|
"--decode_manifest_path",
|
|
|
|
default='datasets/manifest.test',
|
|
|
|
default='datasets/manifest.test',
|
|
|
@ -111,6 +117,7 @@ def evaluate():
|
|
|
|
vocab_filepath=args.vocab_filepath,
|
|
|
|
vocab_filepath=args.vocab_filepath,
|
|
|
|
mean_std_filepath=args.mean_std_filepath,
|
|
|
|
mean_std_filepath=args.mean_std_filepath,
|
|
|
|
augmentation_config='{}',
|
|
|
|
augmentation_config='{}',
|
|
|
|
|
|
|
|
specgram_type=args.specgram_type,
|
|
|
|
num_threads=args.num_threads_data)
|
|
|
|
num_threads=args.num_threads_data)
|
|
|
|
|
|
|
|
|
|
|
|
# create network config
|
|
|
|
# create network config
|
|
|
|