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

Read write protected Memory Exception When Try to use Timestamp DTW. #2118

Open
somenhlt1 opened this issue May 2, 2024 · 1 comment
Open

Comments

@somenhlt1
Copy link

When turn on timestamp for DTW, this piece of code throws AccessViolationException when trying to copy mem.

image

After that, it crashed.

Any idea on how to fix this problem?

@przemoc
Copy link
Contributor

przemoc commented May 6, 2024

Can you provide complete command-line (assuming you used main binary) or configuration provided to whisper.cpp?

I have not followed DTW development, but it feels like you need to provide correct preset matching model that you're using.

Examples:

main -m models/ggml-tiny.bin -f samples/jfk.wav -dtw tiny       # OK
main -m models/ggml-base.en.bin -f samples/jfk.wav -dtw base.en # OK
main -m models/ggml-tiny.bin -f samples/jfk.wav -dtw base.en    # FAIL
main -m models/ggml-tiny.bin -f samples/jfk.wav -dtw            # FAIL, no preset given

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

2 participants