Open RamboRogers opened 8 months ago
Could you try if demo_part1.ipynb
and demo_part2.ipynb
can be run in your environment?
Looks like the same problem.
I solved this issue by changing silero:3.0
here. https://github.com/myshell-ai/OpenVoice/blob/95b3434b7b1b0c77deb718854ca8027cf2fb3c1e/se_extractor.py#L85
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.
I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing.
i get 401 error
I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing.
兄弟你咋弄的,我还是这个错误
我认为是网络的问题,兄弟你的设备能访问外网不?
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 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: @.***>
我认为是网络的问题,兄弟你的设备能访问外网不? … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 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?
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.
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. 💪🏻
通过安装 silero 的依赖,我解决了这个问题
通过安装 silero 的依赖,我解决了这个问题
你好,能把你解决这个问题的详细步骤发一下吗,非常感谢
通过安装 silero 的依赖,我解决了这个问题
你好,能给你解决这个问题的详细步骤吗,非常感谢 运行时,提醒错误时,会给你一个链接,点进去这个链接,右边会有silero 依赖的选项,一共两个依赖,我是安装了第二个依赖解决了问题,虽然第一个依赖安装失败了
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.
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
I faced the same error, how to solve it? Thanks.
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.
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
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
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
same problem here ...
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...
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.
Installed and getting this error on execution of generation. It looks like a silero version needs to be added to the code.
[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