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

Don't stop batch processing when some file fails #67

Closed
KyNicholas opened this issue Sep 1, 2023 · 3 comments
Closed

Don't stop batch processing when some file fails #67

KyNicholas opened this issue Sep 1, 2023 · 3 comments

Comments

@KyNicholas
Copy link

hi,

i'm using batch processing to transcribe multiple files. however, i've run into an issue with some mp3 files related to a setting called "compute_type." to fix this, i need to change "compute_type" to either float16, int8, or float32, depending on the file.

my problem is that when there's an error with one mp3 file, the whole batch processing stops. is there a way to make it skip the problematic file and continue with the next one instead of stopping the entire application?

thanks.

@Purfview
Copy link
Owner

Purfview commented Sep 1, 2023

i've run into an issue with some mp3 files

What issue? Can you share audio sample with the issue?

Btw, could you post there how you solved your %1 is not a valid win32 application issue?

@Purfview Purfview changed the title batch processing Don't stop batch processing when one file fails Sep 1, 2023
@Purfview Purfview changed the title Don't stop batch processing when one file fails Don't stop batch processing when some file fails Sep 1, 2023
@Purfview
Copy link
Owner

Purfview commented Sep 2, 2023

my problem is that when there's an error with one mp3 file, the whole batch processing stops. is there a way to make it skip the problematic file and continue with the next one instead of stopping the entire application?

Then process files one by one: for %i in (*.mkv) do whisper-faster.exe --language=en --model=medium %i

@Purfview Purfview closed this as completed Sep 2, 2023
@Purfview
Copy link
Owner

Purfview commented Nov 18, 2023

Implemented in r160.7 as --check_files switch.

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