增加了自动填充路径的功能,增加了根据显存自动选择ASR精度的功能,也可手动控制

增加了自动填充路径的功能
增加了根据显存自动选择ASR精度的功能,也可手动控制
This commit is contained in:
XXXXRT666
2024-08-01 20:53:52 +08:00
committed by GitHub
parent 7670bc77c3
commit 10e885d9ac
22 changed files with 117 additions and 72 deletions

View File

@@ -101,8 +101,8 @@ if __name__ == '__main__':
parser.add_argument("-l", "--language", type=str, default='ja',
choices=language_code_list,
help="Language of the audio files.")
parser.add_argument("-p", "--precision", type=str, default='float16', choices=['float16','float32'],
help="fp16 or fp32")
parser.add_argument("-p", "--precision", type=str, default='float16', choices=['float16','float32','int8'],
help="fp16, int8 or fp32")
cmd = parser.parse_args()
output_file_path = execute_asr(