From 3e32ced744330a4e46182c2fe42c231f49e091c3 Mon Sep 17 00:00:00 2001 From: wataru Date: Sun, 21 May 2023 04:20:49 +0900 Subject: [PATCH] update --- README_dev_en.md | 36 +++++++++--------------------------- README_dev_ja.md | 36 +++++++++--------------------------- 2 files changed, 18 insertions(+), 54 deletions(-) diff --git a/README_dev_en.md b/README_dev_en.md index 9a54ba3d..e3219a00 100644 --- a/README_dev_en.md +++ b/README_dev_en.md @@ -38,45 +38,27 @@ git clone https://github.com/yxlllc/DDSP-SVC.git DDSP-SVC git clone https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI.git RVC ``` -2. Copy weights - -copy weights of emmbedding or vocoder. These file path can be set as parameter when invoke server. - -(1) hubert_base.pt - -download from [here](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main) - -(2) content vec - -download ContentVec_legacy_500 from [here](https://github.com/auspicious3000/contentvec) - -(3) hubert_soft - -download from [here](https://github.com/bshall/hubert/releases/download/v0.1/hubert-soft-0d54a1f4.pt) - -(4) vocorder - -download nsf_hifigan_20221211.zip from [here](https://github.com/openvpi/vocoders/releases/tag/nsf-hifigan-v1) and expand it. - -3. Install requirements +2. Install requirements ``` $ pip install -r requirements.txt ``` -4. Run server +3. Run server Run server with the below command. You can replace the path to each weight. ``` $ python3 MMVCServerSIO.py -p 18888 --https true \ - --content_vec_500 weights/checkpoint_best_legacy_500.pt \ - --hubert_base weights/hubert_base.pt \ - --hubert_soft weights/hubert-soft-0d54a1f4.pt \ - --nsf_hifigan weights/nsf_hifigan/model + --content_vec_500 pretrain/checkpoint_best_legacy_500.pt \ + --hubert_base pretrain/hubert_base.pt \ + --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt \ + --nsf_hifigan pretrain/nsf_hifigan/model \ + --hubert_base_jp pretrain/rinna_hubert_base_jp.pt \ + --model_dir models ``` -5. Enjoy developing. +4. Enjoy developing. ## For Client Developer diff --git a/README_dev_ja.md b/README_dev_ja.md index 5fdfc2ef..315751c4 100644 --- a/README_dev_ja.md +++ b/README_dev_ja.md @@ -38,45 +38,27 @@ git clone https://github.com/yxlllc/DDSP-SVC.git DDSP-SVC git clone https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI.git RVC ``` -2. 外部のモデルの重みを配置する - -エンコーダやボコーダなどの外部のモデルの重みを入手して配置する。 - -(1) hubert_base.pt - -download from [here](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main) - -(2) content vec - -download ContentVec_legacy_500 from [here](https://github.com/auspicious3000/contentvec) - -(3) hubert_soft - -download from [here](https://github.com/bshall/hubert/releases/download/v0.1/hubert-soft-0d54a1f4.pt) - -(4) vocorder - -download nsf_hifigan_20221211.zip from [here](https://github.com/openvpi/vocoders/releases/tag/nsf-hifigan-v1) and expand it. - -3. モジュールをインストールする +2. モジュールをインストールする ``` $ pip install -r requirements.txt ``` -4. サーバを起動する +3. サーバを起動する 次のコマンドで起動します。各種重みについてのパスは環境に合わせて変えてください。 ``` $ python3 MMVCServerSIO.py -p 18888 --https true \ - --content_vec_500 weights/checkpoint_best_legacy_500.pt \ - --hubert_base weights/hubert_base.pt \ - --hubert_soft weights/hubert-soft-0d54a1f4.pt \ - --nsf_hifigan weights/nsf_hifigan/model + --content_vec_500 pretrain/checkpoint_best_legacy_500.pt \ + --hubert_base pretrain/hubert_base.pt \ + --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt \ + --nsf_hifigan pretrain/nsf_hifigan/model \ + --hubert_base_jp pretrain/rinna_hubert_base_jp.pt \ + --model_dir models ``` -1. 開発しましょう +4. 開発しましょう ## クライアント開発者向け