differences between repo and docker generation

#1
by Filipprox - opened

I run the code through a cloned repository and through a docker file. In a cloned repository, some of the responses are static or silent, while generation through the dockerfile provides the complete response. What are the differences between docker and repo?

k2-fsa org

In a cloned repository, some of the responses are static or silent

Are there any logs?

The logs between docker and the repository differ only in the responses.
Part of response from the repository code:
2024-02-15 21:04:38,047 INFO [decode.py:80] Started!
/project/sherpa-onnx/csrc/offline-recognizer-whisper-impl.h:DecodeStream:111 Only waves less than 30 seconds are supported. We process only the first 30 seconds and discard the remaining data
dsdsd
1
00:00:02,118 --> 00:00:10,186
When people look at me, they see what they want to see and that comes with a lot of expectations.
2
00:00:10,310 --> 00:00:14,090
(silence)
3
00:00:14,470 --> 00:00:19,498
(static)
4
00:00:19,750 --> 00:00:30,762
(silence)

logs from dockerfile:
2024-02-15 15:12:37,603 INFO [decode.py:80] Started! | 0.00/1.81M [00:00<?, ?B/s]
/project/sherpa-onnx/csrc/offline-recognizer-whisper-impl.h:DecodeStream:111 Only waves less than 30 seconds are supported. We process only the first 30 seconds and discard the remaining data
2024-02-15 15:12:49,697 INFO [app.py:139] 1
00:00:02,118 --> 00:00:10,186
When people look at me, they see what they want to see and that comes with a lot of expectations.
2
00:00:10,310 --> 00:00:14,090
I know what it's like to be judged and to be put down.
3
00:00:14,470 --> 00:00:19,498
I know what it's like to have other people form opinions of you without even knowing you.

k2-fsa org

What are the differences between docker and repo?

I think the repo are using an older version of sherpa-onnx.

I just updated the sherpa-onnx in the repo, could you try again?

k2-fsa org

Turns out there was a bug.

Please use the latest version of sherpa-onnx, i.e., >= 1.9.11

Sign up or log in to comment