-
Notifications
You must be signed in to change notification settings - Fork 789
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
Failed to execute script 'main' due to unhandled exception: 'NoneType' object has no attribute 'write' #731
Comments
@ashepp Can you please provide more information about the issue, Like steps to reproduce and any settings you used, like what model type and model size was selected? Issue seems related to the model selected, so you could try some other model type or model size. |
处理器 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz |
It seems to work better if you turn this switch off,But it takes more time |
I have encountered the same problem. And I uninstalled and reinstalled the program, but the problem still happened. |
@Shawn-Chou This we can fix, but I need a bit more info. The error states that the language is unsupported. What language is selected in the screenshot. Chinese, right? And are you running unmodified latest version Also as a test, please try running the app with English interface. You may need switch language in the operating system to English. |
In the imported audio file, most of the time speaking in English, and few time speaking in Chinese |
The selected is Automatic language detection |
Getting this error on Windows 11 using 0.9.0
Traceback (most recent call last):
File "multiprocessing\process.py", line 314, in _bootstrap
File "multiprocessing\process.py", line 108, in run
File "buzz\transcriber\whisper_file_transcriber.py", line 91, in transcribe_whisper
File "buzz\transcriber\whisper_file_transcriber.py", line 168, in transcribe_openai_whisper
File "stable_whisper\whisper_word_level.py", line 372, in transcribe_word_level
File "stable_whisper\whisper_word_level.py", line 206, in decode_with_fallback
File "torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "stable_whisper\whisper_word_level.py", line 825, in decode_word_level
File "torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "stable_whisper\whisper_word_level.py", line 717, in run
File "whisper\decoding.py", line 655, in _get_audio_features
File "torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "whisper\model.py", line 162, in forward
File "torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "torch\nn\modules\conv.py", line 307, in forward
return self._conv_forward(input, self.weight, self.bias)
File "whisper\model.py", line 48, in _conv_forward
File "torch\nn\modules\conv.py", line 303, in _conv_forward
return F.conv1d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [1280, 128, 3], expected input[1, 80, 3000] to have 128 channels, but got 80 channels instead
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 4, in
File "buzz\buzz.py", line 36, in main
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", line 52, in _freeze_support
File "multiprocessing\spawn.py", line 116, in spawn_main
File "multiprocessing\spawn.py", line 129, in _main
File "multiprocessing\process.py", line 329, in _bootstrap
AttributeError: 'NoneType' object has no attribute 'write'
The text was updated successfully, but these errors were encountered: