pull/4072/head
zxcd 4 months ago
parent 5c06c09b82
commit 2d1680105a

@ -174,7 +174,7 @@ class AttLoc(nn.Layer):
att_prev = att_prev / enc_hs_len.unsqueeze(-1).astype(
att_prev.dtype)
else:
att_prev.unsqueeze(-1) # only for static graph
att_prev.unsqueeze(-1)
# att_prev: (utt, frame) -> (utt, 1, 1, frame)
# -> (utt, att_conv_chans, 1, frame)

@ -25,9 +25,9 @@ StartService(){
ClientTest(){
# Client test
# test asr client
paddlespeech_client asr --server_ip $server_ip --port $port --input ./zh.wav
#paddlespeech_client asr --server_ip $server_ip --port $port --input ./zh.wav
((test_times+=1))
paddlespeech_client asr --server_ip $server_ip --port $port --input ./zh.wav
#paddlespeech_client asr --server_ip $server_ip --port $port --input ./zh.wav
((test_times+=1))
# test tts client

@ -1,4 +1,3 @@
FROM registry.baidubce.com/paddlepaddle/paddle:latest-dev-cuda12.3-cudnn9.0-trt8.6-gcc12.2
RUN apt-get update -y
RUN apt-get -y install libsndfile1 lsof
#RUN pip3.10 install pytest-runner

Loading…
Cancel
Save