You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\User\Desktop\ecoute\ecoute\main.py", line 3, in
from AudioTranscriber import AudioTranscriber
File "C:\Users\User\Desktop\ecoute\ecoute\AudioTranscriber.py", line 1, in
import whisper
File "C:\Program Files\Python312\Lib\site-packages\whisper_init_.py", line 8, in
import torch
File "C:\Program Files\Python312\Lib\site-packages\torch_init_.py", line 2120, in
from torch.higher_order_ops import cond
File "C:\Program Files\Python312\Lib\site-packages\torch_higher_order_ops_init.py", line 1, in
from .cond import cond
File "C:\Program Files\Python312\Lib\site-packages\torch_higher_order_ops\cond.py", line 5, in
import torch._subclasses.functional_tensor
File "C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py", line 42, in
class FunctionalTensor(torch.Tensor):
File "C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py", line 258, in FunctionalTensor
cpu = _conversion_method_template(device=torch.device("cpu"))
C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py:258: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\utils\tensor_numpy.cpp:84.)
cpu = conversion_method_template(device=torch.device("cpu"))
[INFO] Adjusting for ambient noise from Default Mic. Please make some noise from the Default Mic...
[INFO] Completed ambient noise adjustment for Default Mic.
[INFO] Adjusting for ambient noise from Default Speaker. Please make or play some noise from the Default Speaker...
[INFO] Completed ambient noise adjustment for Default Speaker.
C:\Program Files\Python312\Lib\site-packages\whisper_init.py:146: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(fp, map_location=device)
[INFO] Whisper using GPU: False
READY
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Please note i have numpy installed
The text was updated successfully, but these errors were encountered:
I was able to setup and launch but it just shows interface without any changes when i speak
When i speak i get this error
C:\Users\User\Desktop\ecoute\ecoute> python main.py
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\User\Desktop\ecoute\ecoute\main.py", line 3, in
from AudioTranscriber import AudioTranscriber
File "C:\Users\User\Desktop\ecoute\ecoute\AudioTranscriber.py", line 1, in
import whisper
File "C:\Program Files\Python312\Lib\site-packages\whisper_init_.py", line 8, in
import torch
File "C:\Program Files\Python312\Lib\site-packages\torch_init_.py", line 2120, in
from torch.higher_order_ops import cond
File "C:\Program Files\Python312\Lib\site-packages\torch_higher_order_ops_init.py", line 1, in
from .cond import cond
File "C:\Program Files\Python312\Lib\site-packages\torch_higher_order_ops\cond.py", line 5, in
import torch._subclasses.functional_tensor
File "C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py", line 42, in
class FunctionalTensor(torch.Tensor):
File "C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py", line 258, in FunctionalTensor
cpu = _conversion_method_template(device=torch.device("cpu"))
C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py:258: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\utils\tensor_numpy.cpp:84.)
cpu = conversion_method_template(device=torch.device("cpu"))
[INFO] Adjusting for ambient noise from Default Mic. Please make some noise from the Default Mic...
[INFO] Completed ambient noise adjustment for Default Mic.
[INFO] Adjusting for ambient noise from Default Speaker. Please make or play some noise from the Default Speaker...
[INFO] Completed ambient noise adjustment for Default Speaker.
C:\Program Files\Python312\Lib\site-packages\whisper_init.py:146: FutureWarning: You are using
torch.load
withweights_only=False
(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_only
will be flipped toTrue
. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user viatorch.serialization.add_safe_globals
. We recommend you start settingweights_only=True
for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.checkpoint = torch.load(fp, map_location=device)
[INFO] Whisper using GPU: False
READY
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Please note i have numpy installed
The text was updated successfully, but these errors were encountered: