Comments (11)
It now supports multi languages including Turkish, please reinstall all dependencies and download the updated code
from whisper-diarization.
Hello, I'm updating it to enable several other languages, stay tuned.
from whisper-diarization.
@hanweinjq I just commited a fix to support windows, please try and let me know if the error still happens
@trappedinspacetime
you need to have an Nvidia GPU to use NeMo library, try colab instead of your local machine
from whisper-diarization.
Thank you for adding Turkish too. Unfortunately "https://download.pytorch.org/whl/cu116/torch-1.13.1%2Bcu116-cp310-cp310-linux_x86_64.whl" exits during installation due to insufficient memory. I have Lenovo IdeaPad 3 15ALC6 with ryzen 5500u, 8gb of ram and no external gpu.
from whisper-diarization.
Since you have no external gpu, you can install the torch-cpu version but i'm not sure if nvidia nemo will work without nvidia gpu
from whisper-diarization.
from whisper-diarization.
please make sure that NeMo is installed, you can use colab, the gpu provided can run it with no problems
from whisper-diarization.
I issued the following command :
pip install nemo
within virtual environment but I get the same error above.
from whisper-diarization.
the correct is
pip install git+https://github.com/NVIDIA/[email protected]#egg=nemo_toolkit[asr]
from whisper-diarization.
from whisper-diarization.
I did:
pip install git+https://github.com/NVIDIA/[email protected]#egg=nemo_toolkit[asr]
then
python diarize.py -a taken_clip.wav
[NeMo W 2023-02-08 16:32:30 optimizers:55] Apex was not found. Using the lamb or fused_adam optimizer will error out.
[NeMo W 2023-02-08 16:32:31 nemo_logging:349] /home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/jit/annotations.py:309: UserWarning: TorchScript will treat type annotations of Tensor dtype-specific subtypes as if they are normal Tensors. dtype constraints are not enforced in compilation either.
warnings.warn("TorchScript will treat type annotations of Tensor "
2023-02-08 16:32:31.985818: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-02-08 16:32:32.333968: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-02-08 16:32:33.213139: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/****/rust/lib:
2023-02-08 16:32:33.213248: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/****/rust/lib:
2023-02-08 16:32:33.213257: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Selected model is a bag of 4 models. You will see that many progress bars per track.
Separated tracks will be stored in /home/****/Desktop/2023-02/whisper-diarization/temp_outputs/htdemucs_ft
Separating track taken_clip.wav
0%| 50%|█████████████████████████████████████ |100%|██████████████████████████████████████████████████████████████████████████|100%|██████████████████████████████████████████████████████████████████████████| 11.7/11.7 [00:08<00:00, 1.32seconds/s]
0%| 50%|█████████████████████████████████████ |100%|██████████████████████████████████████████████████████████████████████████|100%|██████████████████████████████████████████████████████████████████████████| 11.7/11.7 [00:08<00:00, 1.32seconds/s]
0%| 50%|█████████████████████████████████████ |100%|██████████████████████████████████████████████████████████████████████████|100%|██████████████████████████████████████████████████████████████████████████| 11.7/11.7 [00:08<00:00, 1.34seconds/s]
0%| 50%|█████████████████████████████████████ |100%|██████████████████████████████████████████████████████████████████████████|100%|██████████████████████████████████████████████████████████████████████████| 11.7/11.7 [00:09<00:00, 1.27seconds/s]
[NeMo W 2023-02-08 16:33:22 nemo_logging:349] /home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/whisper/transcribe.py:79: UserWarning: FP16 is not supported on CPU; using FP32 instead
warnings.warn("FP16 is not supported on CPU; using FP32 instead")
100%|█████████████████████████████████████| 694/694 [00:17<00:00, 40.79frames/s]
Traceback (most recent call last):
File "/home/****/Desktop/2023-02/whisper-diarization/diarize.py", line 102, in <module>
alignment_model, metadata = whisperx.load_align_model(
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/whisperx/transcribe.py", line 601, in load_align_model
align_model = bundle.get_model().to(device)
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/nn/modules/module.py", line 989, in to
return self._apply(convert)
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/nn/modules/module.py", line 641, in _apply
module._apply(fn)
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/nn/modules/module.py", line 641, in _apply
module._apply(fn)
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/nn/modules/module.py", line 641, in _apply
module._apply(fn)
[Previous line repeated 1 more time]
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/nn/modules/module.py", line 664, in _apply
param_applied = fn(param)
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/nn/modules/module.py", line 987, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "/home/****/.pyenv/versions/3.10.7/lib/python3.10/site-packages/torch/cuda/__init__.py", line 229, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
from whisper-diarization.
Related Issues (20)
- Install fails on Python 3.12 due to missing distutils HOT 5
- python version it best works in ?????? HOT 6
- pip install requirements.txt in Debian WSL on Windows takes forever HOT 2
- What is the maximum audio file that can be sent for execution? HOT 5
- Output format HOT 3
- Conflicting dependencies while installing requirements.txt HOT 14
- from .ctc_forced_aligner import forced_align as forced_align_cpp error HOT 3
- CTC forced alignment error HOT 10
- multiple speaker compatability HOT 12
- IndexError: list index out of range HOT 3
- TypeError: unsupported operand type(s) for |: 'type' and 'type' HOT 4
- No such file or directory: '/usr/local/lib/python3.10/dist-packages/ctc_forced_aligner/punctuations.lst' HOT 1
- Installation issues with Windows HOT 4
- separating tracks killed HOT 2
- "Permission denied" HOT 6
- ContextualVersionConflict / Could not find the operator torchvision::nms HOT 5
- ubuntu pip install issue HOT 2
- Doesn't it provide Diarization for Korean? HOT 2
- Installed without any issues, received this error when trying to run. HOT 7
- Cannot import name 'ModelFilter' from 'huggingface_hub' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisper-diarization.