GithubHelp home page GithubHelp logo

Comments (25)

zhixingheyier avatar zhixingheyier commented on July 19, 2024 5

I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing.
image

from openvoice.

speechless-z avatar speechless-z commented on July 19, 2024 3

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.

Albert-Cervera avatar Albert-Cervera commented on July 19, 2024 2

我认为是网络的问题,兄弟你的设备能访问外网不?

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 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.

davidlbit avatar davidlbit commented on July 19, 2024 2

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.

Albert-Cervera avatar Albert-Cervera commented on July 19, 2024 2

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.

WyHy avatar WyHy commented on July 19, 2024 2

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.

zifeng-radxa avatar zifeng-radxa commented on July 19, 2024 2

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.

Zengyi-Qin avatar Zengyi-Qin commented on July 19, 2024 2

https://github.com/myshell-ai/OpenVoice/blob/main/docs/QA.md#issues-with-installation

from openvoice.

jungchanghae avatar jungchanghae commented on July 19, 2024 1

I solved this issue by changing silero:3.0 here.

method="silero",

from openvoice.

Albert-Cervera avatar Albert-Cervera commented on July 19, 2024 1

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.

Zengyi-Qin avatar Zengyi-Qin commented on July 19, 2024

Could you try if demo_part1.ipynb and demo_part2.ipynb can be run in your environment?

from openvoice.

RamboRogers avatar RamboRogers commented on July 19, 2024

Looks like the same problem.

image

from openvoice.

Albert-Cervera avatar Albert-Cervera commented on July 19, 2024

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.

Sean-Snow avatar Sean-Snow commented on July 19, 2024

image
i get 401 error

from openvoice.

Sean-Snow avatar Sean-Snow commented on July 19, 2024

I faced the same issue right now. but when I try it agin, the problem was resolve, without doing nothing. image

兄弟你咋弄的,我还是这个错误

from openvoice.

zhixingheyier avatar zhixingheyier commented on July 19, 2024

from openvoice.

AiDreamerOoO avatar AiDreamerOoO commented on July 19, 2024

通过安装 silero 的依赖,我解决了这个问题

from openvoice.

QQQTAO avatar QQQTAO commented on July 19, 2024

通过安装 silero 的依赖,我解决了这个问题

你好,能把你解决这个问题的详细步骤发一下吗,非常感谢

from openvoice.

AiDreamerOoO avatar AiDreamerOoO commented on July 19, 2024

通过安装 silero 的依赖,我解决了这个问题

你好,能给你解决这个问题的详细步骤吗,非常感谢
运行时,提醒错误时,会给你一个链接,点进去这个链接,右边会有silero 依赖的选项,一共两个依赖,我是安装了第二个依赖解决了问题,虽然第一个依赖安装失败了

from openvoice.

zyzn avatar zyzn commented on July 19, 2024

I faced the same error, how to solve it? Thanks.

from openvoice.

sogoojoy avatar sogoojoy commented on July 19, 2024

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.

sfjwljh avatar sfjwljh commented on July 19, 2024

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.

gillbates avatar gillbates commented on July 19, 2024

same problem here ...

from openvoice.

AndroidPhoenix avatar AndroidPhoenix commented on July 19, 2024

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.

zpengcom avatar zpengcom commented on July 19, 2024

image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.