k2-fsa / sherpa

Speech-to-text server framework with next-gen Kaldi
https://k2-fsa.github.io/sherpa
Apache License 2.0
515 stars 103 forks source link

error for run streamin_server.py #377

Open alidabaghi123 opened 1 year ago

alidabaghi123 commented 1 year ago

hello. i have been runned streaming_server and occurance this error. do you help me? Screenshot from 2023-05-17 18-19-30

alidabaghi123 commented 1 year ago

Screenshot from 2023-05-17 18-22-20

csukuangfj commented 1 year ago

There must be a problem with your tokens.txt.

Please recheck it.

alidabaghi123 commented 1 year ago

hello again. i download pretrain model and oocurance this error Screenshot from 2023-05-21 15-59-48

csukuangfj commented 1 year ago

Which model are you using? Could you please post the complete logs?

alidabaghi123 commented 1 year ago

streaming_7_pruned Screenshot from 2023-05-21 16-08-29

alidabaghi123 commented 1 year ago

this is complete logs

alidabaghi123 commented 1 year ago

can you help me?

csukuangfj commented 1 year ago

Are you using the latest master of sherpa?

If you export the model by yourself, are you using the latest icefall?

csukuangfj commented 1 year ago

@alidabaghi123 The error log shows that you are not using the latest master of sherpa.

Please always try the latest master when you have an error. And if the error persists, please ask for help again.