Merge pull request #86 from alibaba-damo-academy/dev

Dev
This commit is contained in:
zhifu gao 2023-02-09 18:50:06 +08:00 committed by GitHub
commit f918af66cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 23 deletions

View File

@ -85,4 +85,4 @@ This project is licensed under the [The MIT License](https://opensource.org/lice
booktitle={INTERSPEECH}, booktitle={INTERSPEECH},
year={2022} year={2022}
} }
``` ```

View File

@ -26,7 +26,7 @@ For more versions, please see [https://pytorch.org/get-started/locally](https://
- Install ModelScope - Install ModelScope
``` sh ``` sh
pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html pip install "modelscope[audio_asr]" --upgrade -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
``` ```
- Install other packages - Install other packages

View File

@ -5,6 +5,7 @@ FunASR的安装十分便捷下面将给出详细的安装步骤
``` sh ``` sh
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh sh Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
conda create -n funasr python=3.7 conda create -n funasr python=3.7
conda activate funasr conda activate funasr
``` ```
@ -12,7 +13,7 @@ conda activate funasr
- 安装Pytorch (版本 >= 1.7.0): - 安装Pytorch (版本 >= 1.7.0):
```sh ```sh
pip install torch torchvision torchaudio pip install torch torchaudio
``` ```
关于更多的版本, 请参照 [https://pytorch.org/get-started/locally](https://pytorch.org/get-started/locally) 关于更多的版本, 请参照 [https://pytorch.org/get-started/locally](https://pytorch.org/get-started/locally)
@ -26,7 +27,7 @@ pip config set global.index-url https://mirror.sjtu.edu.cn/pypi/web/simple
安装或更新ModelScope 安装或更新ModelScope
``` sh ``` sh
pip install "modelscope[audio]" --upgrade -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html pip install "modelscope[audio_asr]" --upgrade -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
``` ```
- 下载FunASR仓库并安装剩余所需依赖 - 下载FunASR仓库并安装剩余所需依赖

View File

@ -12,11 +12,11 @@ from setuptools import setup
requirements = { requirements = {
"install": [ "install": [
"setuptools>=38.5.1", "setuptools>=38.5.1",
"configargparse>=1.2.1", # "configargparse>=1.2.1",
"typeguard>=2.7.0", "typeguard>=2.7.0",
"humanfriendly", "humanfriendly",
"scipy>=1.4.1", "scipy>=1.4.1",
"filelock", # "filelock",
"librosa>=0.8.0", "librosa>=0.8.0",
"jamo==0.4.1", # For kss "jamo==0.4.1", # For kss
"PyYAML>=5.1.2", "PyYAML>=5.1.2",
@ -27,13 +27,13 @@ requirements = {
"nltk>=3.4.5", "nltk>=3.4.5",
# ASR # ASR
"sentencepiece", "sentencepiece",
"ctc-segmentation<1.8,>=1.6.6", # "ctc-segmentation<1.8,>=1.6.6",
# TTS # TTS
"pyworld>=0.2.10", # "pyworld>=0.2.10",
"pypinyin<=0.44.0", "pypinyin<=0.44.0",
"espnet_tts_frontend", "espnet_tts_frontend",
# ENH # ENH
"ci_sdr", # "ci_sdr",
"pytorch_wpe", "pytorch_wpe",
"editdistance==0.5.2", "editdistance==0.5.2",
"tensorboard==1.15", "tensorboard==1.15",
@ -43,7 +43,7 @@ requirements = {
], ],
# train: The modules invoked when training only. # train: The modules invoked when training only.
"train": [ "train": [
"pillow>=6.1.0", # "pillow>=6.1.0",
"editdistance==0.5.2", "editdistance==0.5.2",
"wandb", "wandb",
], ],
@ -51,18 +51,18 @@ requirements = {
# but are invoked for the python scripts in each recipe # but are invoked for the python scripts in each recipe
"recipe": [ "recipe": [
"espnet_model_zoo", "espnet_model_zoo",
"gdown", # "gdown",
"resampy", # "resampy",
"pysptk>=0.1.17", # "pysptk>=0.1.17",
"morfessor", # for zeroth-korean # "morfessor", # for zeroth-korean
"youtube_dl", # for laborotv # "youtube_dl", # for laborotv
"nnmnkwii", # "nnmnkwii",
"museval>=0.2.1", # "museval>=0.2.1",
"pystoi>=0.2.2", # "pystoi>=0.2.2",
"mir-eval>=0.6", # "mir-eval>=0.6",
"fastdtw", # "fastdtw",
"nara_wpe>=0.0.5", # "nara_wpe>=0.0.5",
"sacrebleu>=1.5.1", # "sacrebleu>=1.5.1",
], ],
# all: The modules should be optionally installled due to some reason. # all: The modules should be optionally installled due to some reason.
# Please consider moving them to "install" occasionally # Please consider moving them to "install" occasionally
@ -72,7 +72,7 @@ requirements = {
"torch_optimizer", "torch_optimizer",
"fairscale", "fairscale",
"transformers", "transformers",
"gtn==0.0.0", # "gtn==0.0.0",
], ],
"setup": [ "setup": [
"numpy<=1.21.3", "numpy<=1.21.3",