Comments (19)
1, manaul download the unidic.zip from https://cotonoha-dic.s3-ap-northeast-1.amazonaws.com/unidic-3.1.0.zip,
2, cp unidic-3.1.0.zip to /usr/local/lib/python3.9/site-packages/unidic/ and rename it to unidic.zip
3, change /usr/local/lib/python3.9/site-packages/unidic/download.py line 93 , function download_version, comment all except download_and_clean(),
4, change the download_and_clean two parameter anything you want
5, change /usr/local/lib/python3.9/site-packages/unidic/download.py line 63, comment the download_process
then execut python -m unidic download again , it will be OK
from melotts.
确实需要梯子才行
from melotts.
这个库是必须的还是可以忽略此下载?
from melotts.
用梯子下载好zip然后如何安装呢?远程服务器没法用命令python3 -m unidic download
安装
from melotts.
我也想问qwq,大家都是怎么安装的
from melotts.
我解决了
from melotts.
我解决了
请教一下怎么解决的呢?
from melotts.
首先你需要pip install unidec
然后找你的python的路径,我这里是venv所以就拿venv说
我的路径是./python_venv/Lib/site-packages
接着你需要找unidec
和unidec_lite
两个文件夹
我当时发现是unidec_lite中有个dicdir文件夹,而unidec中没有,而且报错中显示的目标也在这个文件夹中,所以我把dicdir复制了一份到unidec文件夹中,然后就可以了。
但是因为网络问题,这个程序还要下载亚马逊和huggingface里的配置文件和模型,我尝试过手动导入,但是我代码基础差看不懂,所以还是运行不了,你们如果解决了麻烦告诉我!!提前说声感谢
from melotts.
首先你需要pip install unidec 然后找你的python的路径,我这里是venv所以就拿venv说 我的路径是
./python_venv/Lib/site-packages
接着你需要找unidec
和unidec_lite
两个文件夹 我当时发现是unidec_lite中有个dicdir文件夹,而unidec中没有,而且报错中显示的目标也在这个文件夹中,所以我把dicdir复制了一份到unidec文件夹中,然后就可以了。但是因为网络问题,这个程序还要下载亚马逊和huggingface里的配置文件和模型,我尝试过手动导入,但是我代码基础差看不懂,所以还是运行不了,你们如果解决了麻烦告诉我!!提前说声感谢
要是需要我提供文件夹请@我
from melotts.
首先你需要pip install unidec 然后找你的python的路径,我这里是venv所以就拿venv说 我的路径是
./python_venv/Lib/site-packages
接着你需要找unidec
和unidec_lite
两个文件夹 我当时发现是unidec_lite中有个dicdir文件夹,而unidec中没有,而且报错中显示的目标也在这个文件夹中,所以我把dicdir复制了一份到unidec文件夹中,然后就可以了。但是因为网络问题,这个程序还要下载亚马逊和huggingface里的配置文件和模型,我尝试过手动导入,但是我代码基础差看不懂,所以还是运行不了,你们如果解决了麻烦告诉我!!提前说声感谢
感谢!我去试一下,感谢分享,有进展继续交流!
from melotts.
呃,我已经全部解决了!
from melotts.
Try this in windows cmd
set HTTP_PROXY=http://127.0.0.1:7890
set HTTPS_PROXY=http://127.0.0.1:7890
python -m unidic download
Try this in bash
export HTTP_PROXY=http://127.0.0.1:7890
export HTTPS_PROXY=http://127.0.0.1:7890
python -m unidic download
from melotts.
Try this in windows cmd
set HTTP_PROXY=http://127.0.0.1:7890 set HTTPS_PROXY=http://127.0.0.1:7890 python -m unidic download
Try this in bash
export HTTP_PROXY=http://127.0.0.1:7890 export HTTPS_PROXY=http://127.0.0.1:7890 python -m unidic download
Yeah! It works!
Before inputing these, you need a proxy to connect AWS.
from melotts.
呃,我已经全部解决了!
怎么解决的呀
from melotts.
1, manaul download the unidic.zip from https://cotonoha-dic.s3-ap-northeast-1.amazonaws.com/unidic-3.1.0.zip, 2, cp unidic-3.1.0.zip to /usr/local/lib/python3.9/site-packages/unidic/ and rename it to unidic.zip 3, change /usr/local/lib/python3.9/site-packages/unidic/download.py line 93 , function download_version, comment all except download_and_clean(), 4, change the download_and_clean two parameter anything you want 5, change /usr/local/lib/python3.9/site-packages/unidic/download.py line 63, comment the download_process then execut python -m unidic download again , it will be OK
Yes,it works!
from melotts.
1, manaul download the unidic.zip from https://cotonoha-dic.s3-ap-northeast-1.amazonaws.com/unidic-3.1.0.zip, 2, cp unidic-3.1.0.zip to /usr/local/lib/python3.9/site-packages/unidic/ and rename it to unidic.zip 3, change /usr/local/lib/python3.9/site-packages/unidic/download.py line 93 , function download_version, comment all except download_and_clean(), 4, change the download_and_clean two parameter anything you want 5, change /usr/local/lib/python3.9/site-packages/unidic/download.py line 63, comment the download_process then execut python -m unidic download again , it will be OK
It works and help a lot
from melotts.
呃,我已经全部解决了!
怎么解决的呀
unidic的下载你可以参考morganwang010的方法,我试过是可行的
hugging face上的模型下载你可以考虑切换镜像源下载
参考配置代码pip install -U huggingface_hub
export HF_ENDPOINT=https://hf-mirror.com
nltk的下载问题可以参考知乎文章:https://zhuanlan.zhihu.com/p/347931749
我通过上述方法调通了
from melotts.
from melotts.
首先你需要pip install unidec 然后找你的python的路径,我这里是venv所以就拿venv说 我的路径是
./python_venv/Lib/site-packages
接着你需要找unidec
和unidec_lite
两个文件夹 我当时发现是unidec_lite中有个dicdir文件夹,而unidec中没有,而且报错中显示的目标也在这个文件夹中,所以我把dicdir复制了一份到unidec文件夹中,然后就可以了。
但是因为网络问题,这个程序还要下载亚马逊和huggingface里的配置文件和模型,我尝试过手动导入,但是我代码基础差看不懂,所以还是运行不了,你们如果解决了麻烦告诉我!!提前说声感谢感谢!我去试一下,感谢分享,有进展继续交流!
这个可以解决python -m unidic download网络错误问题,
我开魔法也解决不了,这样确实解决了
剩下的就是开魔法一路通行,还要下个几百m
from melotts.
Related Issues (20)
- Is it support korean? function error... HOT 1
- 在windows下docker安装报错,请问这是torch版本问题吗?
- so bad
- Can't fine-tune a model on my dataset in Google Colab
- when build docker, AttributeError: module 'botocore.exceptions' has no attribute 'HTTPClientError' HOT 3
- I need to help for working MeloTTS Korean in apple silicon python 3.10.14 (pyenv, virtualenv) HOT 3
- Request for PR review: Add support for Thai language HOT 18
- mecab-python3 and python-mecab-ko conflict HOT 1
- Python API BUG HOT 2
- ValueError: min() arg is an empty sequence HOT 3
- Failed building wheel for mecab-python-3 HOT 4
- 中文文本中夹杂的英文专业术语识别错误
- Docker build error. HOT 1
- Melo TTS pronounces "US" as "ʌs", not "ˌjuː ˈes".
- Calling melo CLI for "ZH" long coldstart times, even if cached
- The generated sound is very small?
- Error on english_bert.py in melo/text/english_bert.py when using local bert-base-uncased model.
- botocore HTTPClientError Error
- Is there any way to set intonation and accent in Japanese text-to-speech?
- Failed initializing MeCab.
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 melotts.