提交 1bb9a04a 编写于 作者: K KP

Update batch input and stdin input.

上级 05288fe1
...@@ -65,7 +65,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe ...@@ -65,7 +65,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe
config=None, # Set `config` and `ckpt_path` to None to use pretrained model. config=None, # Set `config` and `ckpt_path` to None to use pretrained model.
label_file=None, label_file=None,
ckpt_path=None, ckpt_path=None,
input_file='./cat.wav', audio_file='./cat.wav',
topk=10, topk=10,
device=paddle.get_device()) device=paddle.get_device())
print('CLS Result: \n{}'.format(result)) print('CLS Result: \n{}'.format(result))
......
...@@ -65,7 +65,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe ...@@ -65,7 +65,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe
config=None, # Set `config` and `ckpt_path` to None to use pretrained model. config=None, # Set `config` and `ckpt_path` to None to use pretrained model.
label_file=None, label_file=None,
ckpt_path=None, ckpt_path=None,
input_file='./cat.wav', audio_file='./cat.wav',
topk=10, topk=10,
device=paddle.get_device()) device=paddle.get_device())
print('CLS Result: \n{}'.format(result)) print('CLS Result: \n{}'.format(result))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册