Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using my own wav file to transcribe the results was wrong #20

Open
QingWind6 opened this issue Oct 16, 2023 · 6 comments
Open

Using my own wav file to transcribe the results was wrong #20

QingWind6 opened this issue Oct 16, 2023 · 6 comments

Comments

@QingWind6
Copy link

I downloaded the wav audio from here: https://voiceage.com/wbsamples/in_mono/Sports.wav
And I used the following command: taskset -c 4-7 python -m useful_transformers.transcribe_wav Sports.wav
The following is the result of the operation, which is completely wrong with the content in the audio. May I ask why this is and how to solve it?
image

Thank you so much!

@marty1885
Copy link
Contributor

Not sure if this is the cause. The input audio must be 16000Hz Mono. The audio you uploaded is 48000Hz. Try down sample it?

@QingWind6
Copy link
Author

Let me have a try later. Thank you so much!

@shuffblow
Copy link

shuffblow commented Apr 24, 2024

Hello,I want to ask you a question. when I used this command:taskset -c 4-7 python -m useful_transformers.transcribe_wav
It will show this information. The version of toolkit-lite2 and runtime have been updated 2.0.0b0.
The information:
E RKNN: [22:48:05.734] failed to submit!, op id: 0, op name: MatMul, flags: 0x5, task start: 0, task number: 16, run task counter: 0, int status: 0, please try updating to the latest version of the toolkit2 and runtime from: https://eyun.baidu.com/s/3eTDMk6Y (PWD: rknn)
E RKNN: [22:48:05.840] failed to submit!, op id: 0, op name: MatMul, flags: 0x5, task start: 0, task number: 16, run task counter: 0, int status: 0, please try updating to the latest version of the toolkit2 and runtime from: https://eyun.baidu.com/s/3eTDMk6Y (PWD: rknn)

Uploading Snipaste_2024-04-24_22-51-46.jpg…

@marty1885
Copy link
Contributor

The version of toolkit-lite2 and runtime have been updated 2.0.0b0.

Which kernel and version of RKNPU are you using? I haven't move useful-transformers to v2.0.0 yet. For now it still runs on 1.6.0

@shuffblow
Copy link

The version of toolkit-lite2 and runtime have been updated 2.0.0b0.

Which kernel and version of RKNPU are you using? I haven't move useful-transformers to v2.0.0 yet. For now it still runs on 1.6.0

In this website https://github.com/airockchip/rknn-toolkit2/tree/master. The latest version v2.0.0.
I tried to run it on my orangepi5plus(RK3588).
Thank you very much! I will try v1.6.0 later

@marty1885
Copy link
Contributor

@shuffblow 1.6.0 exists here. In a different repo
https://github.com/rockchip-linux/rknn-toolkit2/tree/master/rknpu2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants