Comments (25)
I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing.
from openvoice.
Open the file se_extractor.py with Vim.
Change method="silero" to method="silero:3.0".
After running, there will be a prompt:
"Downloading: 'https://github.com/snakers4/silero-vad/zipball/v3.0' to /home/user/.cache/torch/hub/v3.0.zip"
Manually place the package in the specified location, and then rename it to:snakers4_silero-vad_master
from openvoice.
我认为是网络的问题,兄弟你的设备能访问外网不?
…
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年1月11日(星期四) 晚上6:37 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [myshell-ai/OpenVoice] Silero Error on Generation (Issue #57) I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing. 兄弟你咋弄的,我还是这个错误 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Please, can we all use English? Since we're an international community, is very cumbersome to go to translate every time.
@RamboRogers were you able to solve it?
from openvoice.
I can't really explain what happend, nor why it removed the error, but I've installed the library auditok and changed the method at the location @jungchanghae mentioned in his reply, since I wanted to try all the mentioned VADs (auditok, silero, silero:v3.1), mentioned in the file transcibe.py line 1832. After doing so I was able to run the entire notebook without any other errors, Afterwards I wanted to change it back to either silero or silero:v3.1 to further inspect the error and ideally see how they affect the results, but to my suprise I no longer get the silero error message. I even removed the auditok library, and restarted my machine to inspect if it has anything to do with the auditok library, but it didn't. For some reason it just works.
from openvoice.
Is it possible to have the comments in English please? We can't help each other if language is being mixed and different from English.
from openvoice.
I also encountered the same problem. The inspection found that it was because of the issue with the whisper_timestamped version, which prevented the correct TORCH_HOME path from being obtained. Upgrading whisper_timestamped to the latest version should resolve the issue.
pip install --upgrade whisper_timestamped
from openvoice.
I face same problem after check it is just the network problem,
so just go to the https://github.com/snakers4/silero-vad/tree/v4.0 download the zip file to /home/your_username/.cache/torch/hub after unzip and change the name to snakers4_silero-vad_v4.0 and create a soft link which name snakers4_silero-vad_master link to snakers4_silero-vad_v4.0
and in se_extractor.py need change method="silero" to method="silero:v4.0".
if still have problem try export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1
that would work perfect for me
from openvoice.
https://github.com/myshell-ai/OpenVoice/blob/main/docs/QA.md#issues-with-installation
from openvoice.
I solved this issue by changing silero:3.0
here.
Line 85 in 95b3434
from openvoice.
Just some update. I've been trying to execute the Gradio example with my M1 Mac, and I had the same error reported here. However, today I decided to work locally with Jupyter and after manually installing the missing dependencies and changing CUDA to CPU, then I was able to execute the code examples . 🧑🏻💻✨
However, even if my Jupyter runs locally with no problem (apart from my results not being so HQ), I'm still unable to run the Gradio example and I still get the same Silero error. ❌
I would encourage anybody to confirm that Silero is being downloaded to /Users/yourUserName/.cache/torch/hub
or else, clone it manually as snakers4_silero-vad_master.
After that try locally the notebooks. 💪🏻
from openvoice.
Could you try if demo_part1.ipynb
and demo_part2.ipynb
can be run in your environment?
from openvoice.
Looks like the same problem.
from openvoice.
Changing the silero version does not work. I'm facing the same problem as @RamboRogers but with a M1 Mac. However, I did notice that Silero is being installed on /Users/albert_c/.cache/torch/hub
and stills gives the error.
I just trace it and found that it may be an issue with a simlink within the whisper-timestamped library https://github.com/linto-ai/whisper-timestamped/blob/bb99dba2e76c2b0ce546f269e523a6b6bfd761c9/whisper_timestamped/transcribe.py#L1890C13-L1890C37
Haven't been able to confirm it yet.
from openvoice.
from openvoice.
I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing.
兄弟你咋弄的,我还是这个错误
from openvoice.
from openvoice.
通过安装 silero 的依赖,我解决了这个问题
from openvoice.
通过安装 silero 的依赖,我解决了这个问题
你好,能把你解决这个问题的详细步骤发一下吗,非常感谢
from openvoice.
通过安装 silero 的依赖,我解决了这个问题
你好,能给你解决这个问题的详细步骤吗,非常感谢
运行时,提醒错误时,会给你一个链接,点进去这个链接,右边会有silero 依赖的选项,一共两个依赖,我是安装了第二个依赖解决了问题,虽然第一个依赖安装失败了
from openvoice.
I faced the same error, how to solve it? Thanks.
from openvoice.
In my environment, this was caused by not being able to import torchaudio properly, and when I switched to a different environment, the problem was solved.
from openvoice.
Open the file se_extractor.py with Vim. Change method="silero" to method="silero:3.0". After running, there will be a prompt: "Downloading: 'https://github.com/snakers4/silero-vad/zipball/v3.0' to /home/user/.cache/torch/hub/v3.0.zip" Manually place the package in the specified location, and then rename it to:snakers4_silero-vad_master
simply rename the file to "snakers4_silero-vad_master" didn't work for me. The program will generate a soft link called "snakers4_silero-vad_master" which is directed to "snakers4_silero-vad_v3.0", so I keep the soft link unchanged and rename the package file to "snakers4_silero-vad_v3.0" , and thankfully it worked
from openvoice.
same problem here ...
from openvoice.
it takes me a looooooong time to fix this issue.
just specify torch and torchvision version in requirements_locally.txt, and it will fix this issue
torch==1.13.1
torchvision==0.14.1
the reason is...
tochaudio using a lib called libtorchaudio.so, and it import a symbol from torch/torchvision lib,
without specify torch and torchvision version, when running OpenVoice, there's a exception throw,
and which it DOES NOT SHOW in logs!!!
it would be somthing like
symbol not defined __ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE
without version specified, torch/torchvision will be installed as latest,
and for sure torchaudio could not find the symbol.
although the error message is
[ERROR] Get target tone color error Problem when installing silero with version None. Check versions here: https://github.com/snakers4/silero-vad/wiki/Version-history-and-Available-Models
that's because torch treat all error as download issue.and it's not a download issue...
from openvoice.
I tried the above methods, but none of them worked. The system environment variable of my torch is in D:.cache, so the path D:.cache\torch\hub\snakers4_silero-vad_master is correct, but webui info [ERROR] Get target tone color error Unexpected situation: missing C:\Users\pengi/.cache/torch/hub/snakers4_silero-vad_master
I was in windows11 conda python3.9.19 : python openvoice_app.py
In addition, the same conda environment uses jupyter notebook and runs normally.
from openvoice.
Related Issues (20)
- Op
- 能否加入**那边口音?
- What would be the most optimal way to generate audio in real time?
- 各个模块或模型的作用是什么?有关V2测试
- Can this repo clone the original voice and generate a voice file with the speaker voice ? HOT 2
- What does the Tau parameter do?
- CUDNN_STATUS_NOT_SUPPORTED
- How to resovle this problem? tips:"Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work" HOT 1
- 尝试了中文男性,感觉有浓重的日本口音
- An error occured while synchronizing the model guillaumekln/faster-whisper-medium from the Hugging Face Hub:
- ValueError: This CTranslate2 package was not compiled with CUDA support HOT 2
- CPU support for voice tone extraction
- Base model for zero shot speech generation HOT 1
- It that necessary to apply VC for every single sentence? HOT 1
- target_se file not found error HOT 3
- numpy.core.multiarray failed to import
- How to finetuning the voice-cloning model?
- how to convert the model into ONNX format? HOT 1
- Please enable github discussions for this project
- Embedding error for Chinese language 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 openvoice.