From 50d46982d2f5aeb0265e017b60c78079c53b970d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?=
<41315874+fumiama@users.noreply.github.com>
Date: Wed, 5 Jun 2024 19:15:53 +0900
Subject: [PATCH] optimize(all): tidy project structure
---
.github/workflows/checksum.yml | 2 +-
.github/workflows/unitest.yml | 2 +-
CONTRIBUTING.md | 11 -
LICENSE | 2 +-
MIT协议暨相关引用库协议 | 45 ---
README.md | 20 +-
configs/config.py | 6 +-
docs/en/README.en.md | 22 +-
docs/fr/README.fr.md | 12 +-
docs/jp/README.ja.md | 20 +-
docs/kr/README.ko.han.md | 14 +-
docs/kr/README.ko.md | 26 +-
docs/pt/README.pt.md | 16 +-
docs/tr/README.tr.md | 16 +-
environment_dml.yaml | 186 ---------
go-realtime-gui-dml.bat | 2 -
go-realtime-gui.bat | 2 -
go-web-dml.bat | 2 -
go-web.bat | 2 -
gui_v1.py => gui.py | 0
i18n/locale/pt_BR.json | 2 +-
infer/lib/rvcmd.py | 2 +-
requirements-amd.txt | 2 +-
requirements-dml.txt | 2 +-
...vc_gui-dml.txt => requirements-gui-dml.txt | 0
...ealtime_vc_gui.txt => requirements-gui.txt | 0
requirements-ipex.txt | 2 +-
requirements-py311.txt | 2 +-
requirements.txt | 2 +-
tools/dlmodels.bat | 362 ------------------
tools/dlmodels.sh | 81 ----
tools/download_models.py | 79 ----
tools/ipynb/v1.ipynb | 353 -----------------
tools/ipynb/v2.ipynb | 352 -----------------
infer-web.py => web.py | 2 +-
35 files changed, 79 insertions(+), 1572 deletions(-)
delete mode 100644 CONTRIBUTING.md
delete mode 100644 MIT协议暨相关引用库协议
delete mode 100644 environment_dml.yaml
delete mode 100644 go-realtime-gui-dml.bat
delete mode 100644 go-realtime-gui.bat
delete mode 100644 go-web-dml.bat
delete mode 100644 go-web.bat
rename gui_v1.py => gui.py (100%)
rename requirements-win-for-realtime_vc_gui-dml.txt => requirements-gui-dml.txt (100%)
rename requirements-win-for-realtime_vc_gui.txt => requirements-gui.txt (100%)
delete mode 100644 tools/dlmodels.bat
delete mode 100755 tools/dlmodels.sh
delete mode 100644 tools/download_models.py
delete mode 100644 tools/ipynb/v1.ipynb
delete mode 100644 tools/ipynb/v2.ipynb
rename infer-web.py => web.py (99%)
diff --git a/.github/workflows/checksum.yml b/.github/workflows/checksum.yml
index d918183..4c6bbec 100644
--- a/.github/workflows/checksum.yml
+++ b/.github/workflows/checksum.yml
@@ -15,7 +15,7 @@ jobs:
- name: Run RVC-Models-Downloader
run: |
- wget https://github.com/RVC-Project/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
+ wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
sudo apt -y install ./rvcmd_linux_amd64.deb
rm -f ./rvcmd_linux_amd64.deb
rvcmd -notrs -w 1 -notui assets/all
diff --git a/.github/workflows/unitest.yml b/.github/workflows/unitest.yml
index 5517d8a..11f6555 100644
--- a/.github/workflows/unitest.yml
+++ b/.github/workflows/unitest.yml
@@ -19,7 +19,7 @@ jobs:
run: |
sudo apt update
sudo apt -y install ffmpeg
- wget https://github.com/RVC-Project/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
+ wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
sudo apt -y install ./rvcmd_linux_amd64.deb
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
deleted file mode 100644
index 4588018..0000000
--- a/CONTRIBUTING.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# 贡献规则
-1. 一般来说,作者`@RVC-Boss`将拒绝所有的算法更改,除非它是为了修复某个代码层面的错误或警告
-2. 您可以贡献本仓库的其他位置,如翻译和WebUI,但请尽量作最小更改
-3. 所有更改都需要由`@RVC-Boss`批准,因此您的PR可能会被搁置
-4. 由此带来的不便请您谅解
-
-# Contributing Rules
-1. Generally, the author `@RVC-Boss` will reject all algorithm changes unless what is to fix a code-level error or warning.
-2. You can contribute to other parts of this repo like translations and WebUI, but please minimize your changes as much as possible.
-3. All changes need to be approved by `@RVC-Boss`, so your PR may be put on hold.
-4. Please accept our apologies for any inconvenience caused.
diff --git a/LICENSE b/LICENSE
index f703dbe..4555ff3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2023-2024 liujing04
+Copyright (c) 2023-2024 RVC-Boss
Copyright (c) 2023-2024 fumiama
Copyright (c) 2023-2024 Ftps
diff --git a/MIT协议暨相关引用库协议 b/MIT协议暨相关引用库协议
deleted file mode 100644
index d6ec5c0..0000000
--- a/MIT协议暨相关引用库协议
+++ /dev/null
@@ -1,45 +0,0 @@
-本软件及其相关代码以MIT协议开源,作者不对软件具备任何控制力,使用软件者、传播软件导出的声音者自负全责。
-如不认可该条款,则不能使用或引用软件包内任何代码和文件。
-
-特此授予任何获得本软件和相关文档文件(以下简称“软件”)副本的人免费使用、复制、修改、合并、出版、分发、再授权和/或销售本软件的权利,以及授予本软件所提供的人使用本软件的权利,但须符合以下条件:
-上述版权声明和本许可声明应包含在软件的所有副本或实质部分中。
-软件是“按原样”提供的,没有任何明示或暗示的保证,包括但不限于适销性、适用于特定目的和不侵权的保证。在任何情况下,作者或版权持有人均不承担因软件或软件的使用或其他交易而产生、产生或与之相关的任何索赔、损害赔偿或其他责任,无论是在合同诉讼、侵权诉讼还是其他诉讼中。
-
-
-The LICENCEs for related libraries are as follows.
-相关引用库协议如下:
-
-ContentVec
-https://github.com/auspicious3000/contentvec/blob/main/LICENSE
-MIT License
-
-VITS
-https://github.com/jaywalnut310/vits/blob/main/LICENSE
-MIT License
-
-HIFIGAN
-https://github.com/jik876/hifi-gan/blob/master/LICENSE
-MIT License
-
-gradio
-https://github.com/gradio-app/gradio/blob/main/LICENSE
-Apache License 2.0
-
-ffmpeg
-https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv3
-https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2021-02-28-12-32/ffmpeg-n4.3.2-160-gfbb9368226-win64-lgpl-4.3.zip
-LPGLv3 License
-MIT License
-
-ultimatevocalremovergui
-https://github.com/Anjok07/ultimatevocalremovergui/blob/master/LICENSE
-https://github.com/yang123qwe/vocal_separation_by_uvr5
-MIT License
-
-audio-slicer
-https://github.com/openvpi/audio-slicer/blob/main/LICENSE
-MIT License
-
-FreeSimpleGUI
-https://github.com/spyoungtech/FreeSimpleGUI/blob/master/license.txt
-LPGLv3 License
diff --git a/README.md b/README.md
index 4a5b2b7..8927d52 100644
--- a/README.md
+++ b/README.md
@@ -4,18 +4,16 @@
一个基于VITS的简单易用的变声框架
[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
-[**更新日志**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_CN.md) | [**常见问题解答**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94) | [**AutoDL·5毛钱训练AI歌手**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**对照实验记录**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95)) | [**在线演示**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
+[**更新日志**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_CN.md) | [**常见问题解答**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94) | [**AutoDL·5毛钱训练AI歌手**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**对照实验记录**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95)) | [**在线演示**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
[**English**](./docs/en/README.en.md) | [**中文简体**](./README.md) | [**日本語**](./docs/jp/README.ja.md) | [**한국어**](./docs/kr/README.ko.md) ([**韓國語**](./docs/kr/README.ko.han.md)) | [**Français**](./docs/fr/README.fr.md) | [**Türkçe**](./docs/tr/README.tr.md) | [**Português**](./docs/pt/README.pt.md)
@@ -25,7 +23,7 @@
> 请期待RVCv3的底模,参数更大,数据集更大,效果更好,基本持平的推理速度,需要训练数据量更少。
-> 由于某些地区无法直连Hugging Face,即使设法成功访问,速度也十分缓慢,特推出模型/整合包/工具的一键下载器,欢迎试用:[RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)
+> 由于某些地区无法直连Hugging Face,即使设法成功访问,速度也十分缓慢,特推出模型/整合包/工具的一键下载器,欢迎试用:[RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
@@ -33,8 +31,8 @@
| 实时变声界面 |
-  |
-  |
+  |
+  |
| go-web.bat |
@@ -118,7 +116,7 @@ sh ./run.sh
> 你可以在`tools`文件夹找到下载它们的脚本
-> 你也可以使用模型/整合包/工具的一键下载器:[RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)
+> 你也可以使用模型/整合包/工具的一键下载器:[RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
以下是一份清单,包括了所有RVC所需的预模型和其他文件的名称。
@@ -229,6 +227,6 @@ rvcmd packs/general/latest # RVC-Models-Downloader command
+ The pretrained model is trained and tested by [yxlllc](https://github.com/yxlllc/RMVPE) and [RVC-Boss](https://github.com/RVC-Boss).
## 感谢所有贡献者作出的努力
-
-
+
+
diff --git a/configs/config.py b/configs/config.py
index 2942ce8..f691413 100644
--- a/configs/config.py
+++ b/configs/config.py
@@ -53,7 +53,7 @@ class Config:
(
self.python_cmd,
self.listen_port,
- self.iscolab,
+ self.global_link,
self.noparallel,
self.noautoopen,
self.dml,
@@ -81,7 +81,7 @@ class Config:
parser = argparse.ArgumentParser()
parser.add_argument("--port", type=int, default=7865, help="Listen port")
parser.add_argument("--pycmd", type=str, default=exe, help="Python command")
- parser.add_argument("--colab", action="store_true", help="Launch in colab")
+ parser.add_argument("--global_link", action="store_true", help="Generate a global proxy link")
parser.add_argument(
"--noparallel", action="store_true", help="Disable parallel processing"
)
@@ -108,7 +108,7 @@ class Config:
return (
cmd_opts.pycmd,
cmd_opts.port,
- cmd_opts.colab,
+ cmd_opts.global_link,
cmd_opts.noparallel,
cmd_opts.noautoopen,
cmd_opts.dml,
diff --git a/docs/en/README.en.md b/docs/en/README.en.md
index 325251f..127eb41 100644
--- a/docs/en/README.en.md
+++ b/docs/en/README.en.md
@@ -4,18 +4,16 @@
An easy-to-use voice conversion framework based on VITS.
[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
-[**Changelog**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_EN.md) | [**FAQ (Frequently Asked Questions)**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/FAQ-(Frequently-Asked-Questions))
+[**Changelog**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_EN.md) | [**FAQ (Frequently Asked Questions)**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/FAQ-(Frequently-Asked-Questions))
[**English**](../en/README.en.md) | [**中文简体**](../../README.md) | [**日本語**](../jp/README.ja.md) | [**한국어**](../kr/README.ko.md) ([**韓國語**](../kr/README.ko.han.md)) | [**Français**](../fr/README.fr.md) | [**Türkçe**](../tr/README.tr.md) | [**Português**](../pt/README.pt.md)
@@ -25,7 +23,7 @@ An easy-to-use voice conversion framework based on VITS.
> Please look forward to the base model of RVCv3 with larger parameters, larger dataset, better effects, basically flat inference speed, and less training data required.
-> There's a [one-click downloader](https://github.com/RVC-Project/RVC-Models-Downloader) for models/integration packages/tools. Welcome to try.
+> There's a [one-click downloader](https://github.com/fumiama/RVC-Models-Downloader) for models/integration packages/tools. Welcome to try.
@@ -33,8 +31,8 @@ An easy-to-use voice conversion framework based on VITS.
Real-time voice changing GUI |
-  |
-  |
+  |
+  |
| go-web.bat |
@@ -118,7 +116,7 @@ sh ./run.sh
> You can find some scripts to download them in the `tools` folder
-> You can also use the [one-click downloader](https://github.com/RVC-Project/RVC-Models-Downloader) for models/integration packages/tools
+> You can also use the [one-click downloader](https://github.com/fumiama/RVC-Models-Downloader) for models/integration packages/tools
Below is a list that includes the names of all pre-models and other files required by RVC.
@@ -227,6 +225,6 @@ rvcmd packs/general/latest # RVC-Models-Downloader command
+ The pretrained model is trained and tested by [yxlllc](https://github.com/yxlllc/RMVPE) and [RVC-Boss](https://github.com/RVC-Boss).
## Thanks to all contributors for their efforts
-
-
+
+
diff --git a/docs/fr/README.fr.md b/docs/fr/README.fr.md
index d466c93..3b83398 100644
--- a/docs/fr/README.fr.md
+++ b/docs/fr/README.fr.md
@@ -4,18 +4,16 @@
Un framework simple et facile à utiliser pour la conversion vocale (modificateur de voix) basé sur VITS
[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
-[**Journal de mise à jour**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_CN.md) | [**FAQ**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94) | [**AutoDL·Formation d'un chanteur AI pour 5 centimes**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**Enregistrement des expériences comparatives**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**Démonstration en ligne**](https://huggingface.co/spaces/Ricecake123/RVC-demo)
+[**Journal de mise à jour**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_CN.md) | [**FAQ**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94) | [**AutoDL·Formation d'un chanteur AI pour 5 centimes**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**Enregistrement des expériences comparatives**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**Démonstration en ligne**](https://huggingface.co/spaces/Ricecake123/RVC-demo)
@@ -174,6 +172,6 @@ python infer-web.py
+ Le modèle pré-entraîné a été formé et testé par [yxlllc](https://github.com/yxlllc/RMVPE) et [RVC-Boss](https://github.com/RVC-Boss).
## Remerciements à tous les contributeurs pour leurs efforts
-
-
+
+
diff --git a/docs/jp/README.ja.md b/docs/jp/README.ja.md
index 1fa6b5d..e3889e0 100644
--- a/docs/jp/README.ja.md
+++ b/docs/jp/README.ja.md
@@ -3,18 +3,16 @@
Retrieval-based-Voice-Conversion-WebUI
VITSに基づく使いやすい音声変換(voice changer)framework
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
-[**更新日誌**](./Changelog_JA.md) | [**よくある質問**](./faq_ja.md) | [**AutoDLで推論(中国語のみ)**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**対照実験記録**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**オンラインデモ(中国語のみ)**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
+[**更新日誌**](./Changelog_JA.md) | [**よくある質問**](./faq_ja.md) | [**AutoDLで推論(中国語のみ)**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**対照実験記録**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**オンラインデモ(中国語のみ)**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
[**English**](../en/README.en.md) | [**中文简体**](../../README.md) | [**日本語**](../jp/README.ja.md) | [**한국어**](../kr/README.ko.md) ([**韓國語**](../kr/README.ko.han.md)) | [**Français**](../fr/README.fr.md) | [**Türkçe**](../tr/README.tr.md) | [**Português**](../pt/README.pt.md)
@@ -24,7 +22,7 @@ VITSに基づく使いやすい音声変換(voice changer)framework
> RVCv3 の基底モデルをご期待ください。より大きなパラメータ、より大きなデータ、より良い効果を提供し、基本的に同様の推論速度を維持しながら学習に必要なデータ量はより少なくなります。
-> モデルや統合パッケージをダウンロードしやすい[RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)のご利用がお勧めです。
+> モデルや統合パッケージをダウンロードしやすい[RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)のご利用がお勧めです。
@@ -32,8 +30,8 @@ VITSに基づく使いやすい音声変換(voice changer)framework
即時音声変換 |
-  |
-  |
+  |
+  |
| go-web.bat |
@@ -120,7 +118,7 @@ sh ./run.sh
> `tools`フォルダでそれらをダウンロードするスクリプトを見つけることができます。
-> モデル/統合パッケージ/ツールの一括ダウンローダー、[RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)も使用できます。
+> モデル/統合パッケージ/ツールの一括ダウンローダー、[RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)も使用できます。
以下は、RVCが必要とするすべての事前モデルデータやその他のファイルの名前を含むリストです。
@@ -232,6 +230,6 @@ rvcmd packs/general/latest # RVC-Models-Downloader command
## すべての貢献者の努力に感謝します
-
-
+
+
diff --git a/docs/kr/README.ko.han.md b/docs/kr/README.ko.han.md
index 0273b61..02ea29e 100644
--- a/docs/kr/README.ko.han.md
+++ b/docs/kr/README.ko.han.md
@@ -4,13 +4,11 @@
VITS基盤의 簡單하고使用하기 쉬운音聲變換틀
[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
@@ -18,7 +16,7 @@ VITS基盤의 簡單하고使用하기 쉬운音聲變換틀
------
-[**更新日誌**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_KO.md)
+[**更新日誌**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_KO.md)
[**English**](../en/README.en.md) | [**中文简体**](../../README.md) | [**日本語**](../jp/README.ja.md) | [**한국어**](../kr/README.ko.md) ([**韓國語**](../kr/README.ko.han.md)) | [**Français**](../fr/README.fr.md) | [**Türkçe**](../tr/README.tr.md) | [**Português**](../pt/README.pt.md)
@@ -100,7 +98,7 @@ Windows를 使用하는境遇 `RVC-beta.7z`를 다운로드 및 壓縮解除하
+ [audio-slicer](https://github.com/openvpi/audio-slicer)
## 모든寄與者분들의勞力에感謝드립니다
-
-
+
+
diff --git a/docs/kr/README.ko.md b/docs/kr/README.ko.md
index 6a3ed61..a1249e5 100644
--- a/docs/kr/README.ko.md
+++ b/docs/kr/README.ko.md
@@ -3,18 +3,16 @@
Retrieval-based-Voice-Conversion-WebUI
VITS 기반의 간단하고 사용하기 쉬운 음성 변환 프레임워크.
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
-[**업데이트 로그**](./Changelog_KO.md) | [**자주 묻는 질문**](./faq_ko.md) | [**AutoDL·5원으로 AI 가수 훈련**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**대조 실험 기록**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**온라인 데모**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
+[**업데이트 로그**](./Changelog_KO.md) | [**자주 묻는 질문**](./faq_ko.md) | [**AutoDL·5원으로 AI 가수 훈련**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**대조 실험 기록**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**온라인 데모**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
[**English**](../en/README.en.md) | [**中文简体**](../../README.md) | [**日本語**](../jp/README.ja.md) | [**한국어**](../kr/README.ko.md) ([**韓國語**](../kr/README.ko.han.md)) | [**Français**](../fr/README.fr.md) | [**Türkçe**](../tr/README.tr.md) | [**Português**](../pt/README.pt.md)
@@ -24,7 +22,7 @@ VITS 기반의 간단하고 사용하기 쉬운 음성 변환 프레임워크. 더 큰 매개변수, 더 큰 데이터, 더 나은 효과, 기본적으로 동일한 추론 속도, 더 적은 양의 훈련 데이터가 필요한 RVCv3의 기본 모델을 기대해 주십시오.
-> 특정 지역에서 Hugging Face에 직접 연결할 수 없는 경우가 있으며, 성공적으로 연결해도 속도가 매우 느릴 수 있으므로, 모델/통합 패키지/도구의 일괄 다운로더를 특별히 소개합니다. [RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)
+> 특정 지역에서 Hugging Face에 직접 연결할 수 없는 경우가 있으며, 성공적으로 연결해도 속도가 매우 느릴 수 있으므로, 모델/통합 패키지/도구의 일괄 다운로더를 특별히 소개합니다. [RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
@@ -32,8 +30,8 @@ VITS 기반의 간단하고 사용하기 쉬운 음성 변환 프레임워크.실시간 음성 변환 인터페이스
-  |
-  |
+  |
+  |
| go-web.bat |
@@ -148,7 +146,7 @@ sh ./run.sh
> 你可以在`tools`文件夹找到下载它们的脚本
-> 你也可以使用模型/整合包/工具的一键下载器:[RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)
+> 你也可以使用模型/整合包/工具的一键下载器:[RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
以下是一份清单,包括了所有RVC所需的预模型和其他文件的名称。
@@ -259,8 +257,8 @@ rvcmd packs/general/latest # RVC-Models-Downloader command
+ The pretrained model is trained and tested by [yxlllc](https://github.com/yxlllc/RMVPE) and [RVC-Boss](https://github.com/RVC-Boss).
## 感谢所有贡献者作出的努力
-
-
+
+
translate to Korean
@@ -287,7 +285,7 @@ translate to Korean
> 이들을 다운로드하는 스크립트는 `tools` 폴더에서 찾을 수 있습니다.
-> 모델/통합 패키지/도구의 일괄 다운로더를 사용할 수도 있습니다: [RVC-Models-Downloader](https://github.com/RVC-Project/RVC-Models-Downloader)
+> 모델/통합 패키지/도구의 일괄 다운로더를 사용할 수도 있습니다: [RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
다음은 RVC에 필요한 모든 사전 훈련된 모델과 기타 파일의 목록입니다.
@@ -417,6 +415,6 @@ source /opt/intel/oneapi/setvars.sh
## 모든 기여자들의 노력에 감사드립니다
-
-
+
+
diff --git a/docs/pt/README.pt.md b/docs/pt/README.pt.md
index 4b8ec50..a96ba5d 100644
--- a/docs/pt/README.pt.md
+++ b/docs/pt/README.pt.md
@@ -4,13 +4,11 @@
Uma estrutura de conversão de voz fácil de usar baseada em VITS.
[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
@@ -18,7 +16,7 @@ Uma estrutura de conversão de voz fácil de usar baseada em VITS.
------
-[**Changelog**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_EN.md) | [**FAQ (Frequently Asked Questions)**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/FAQ-(Frequently-Asked-Questions))
+[**Changelog**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_EN.md) | [**FAQ (Frequently Asked Questions)**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/FAQ-(Frequently-Asked-Questions))
[**English**](../en/README.en.md) | [**中文简体**](../../README.md) | [**日本語**](../jp/README.ja.md) | [**한국어**](../kr/README.ko.md) ([**韓國語**](../kr/README.ko.han.md)) | [**Türkçe**](../tr/README.tr.md) | [**Português**](../pt/README.pt.md)
@@ -60,7 +58,7 @@ Primeiro instale as dependências principais através do pip:
# Referência: https://pytorch.org/get-started/locally/
pip install torch torchvision torchaudio
-#Para arquitetura Windows + Nvidia Ampere (RTX30xx), você precisa especificar a versão cuda correspondente ao pytorch de acordo com a experiência de https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/ 21
+#Para arquitetura Windows + Nvidia Ampere (RTX30xx), você precisa especificar a versão cuda correspondente ao pytorch de acordo com a experiência de https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/issues/ 21
#pip instalar tocha torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
#Para placas Linux + AMD, você precisa usar as seguintes versões do pytorch:
@@ -188,7 +186,7 @@ python infer-web.py
+ The pretrained model is trained and tested by [yxlllc](https://github.com/yxlllc/RMVPE) and [RVC-Boss](https://github.com/RVC-Boss).
## Thanks to all contributors for their efforts
-
-
+
+
diff --git a/docs/tr/README.tr.md b/docs/tr/README.tr.md
index 8f93d15..4af7427 100644
--- a/docs/tr/README.tr.md
+++ b/docs/tr/README.tr.md
@@ -5,13 +5,11 @@
VITS'e dayalı kullanımı kolay bir Ses Dönüşümü çerçevesi.
[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
+)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)

-
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v1.ipynb)
-[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/ipynb/v2.ipynb)
-[](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
+
+[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[](https://discord.gg/HcsmBBGyVk)
@@ -19,7 +17,7 @@ VITS'e dayalı kullanımı kolay bir Ses Dönüşümü çerçevesi.
------
-[**Değişiklik Geçmişi**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_TR.md) | [**SSS (Sıkça Sorulan Sorular)**](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/wiki/SSS-(Sıkça-Sorulan-Sorular))
+[**Değişiklik Geçmişi**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/Changelog_TR.md) | [**SSS (Sıkça Sorulan Sorular)**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/SSS-(Sıkça-Sorulan-Sorular))
[**İngilizce**](../en/README.en.md) | [**中文简体**](../../README.md) | [**日本語**](../jp/README.ja.md) | [**한국어**](../kr/README.ko.md) ([**韓國語**](../kr/README.ko.han.md)) | [**Français**](../fr/README.fr.md) | [**Türkçe**](../tr/README.tr.md) | [**Português**](../pt/README.pt.md)
@@ -55,7 +53,7 @@ Aşağıdaki komutlar, Python sürümü 3.8 veya daha yüksek olan bir ortamda
# Referans: https://pytorch.org/get-started/locally/
pip install torch torchvision torchaudio
-# Windows + Nvidia Ampere Mimarisi(RTX30xx) için, https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/21 deneyime göre pytorch'a karşılık gelen cuda sürümünü belirtmeniz gerekebilir
+# Windows + Nvidia Ampere Mimarisi(RTX30xx) için, https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/issues/21 deneyime göre pytorch'a karşılık gelen cuda sürümünü belirtmeniz gerekebilir
#pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
```
@@ -149,7 +147,7 @@ Windows veya macOS kullanıyorsanız, `RVC-beta.7z` dosyasını indirip çıkara
+ Ön eğitimli model [yxlllc](https://github.com/yxlllc/RMVPE) ve [RVC-Boss](https://github.com/RVC-Boss) tarafından eğitilip test edilmiştir.
## Katkıda Bulunan Herkese Teşekkürler
-
-
+
+
```
diff --git a/environment_dml.yaml b/environment_dml.yaml
deleted file mode 100644
index 9da21d3..0000000
--- a/environment_dml.yaml
+++ /dev/null
@@ -1,186 +0,0 @@
-name: pydml
-channels:
- - pytorch
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- - defaults
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/fastai/
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
-dependencies:
- - abseil-cpp=20211102.0=hd77b12b_0
- - absl-py=1.3.0=py310haa95532_0
- - aiohttp=3.8.3=py310h2bbff1b_0
- - aiosignal=1.2.0=pyhd3eb1b0_0
- - async-timeout=4.0.2=py310haa95532_0
- - attrs=22.1.0=py310haa95532_0
- - blas=1.0=mkl
- - blinker=1.4=py310haa95532_0
- - bottleneck=1.3.5=py310h9128911_0
- - brotli=1.0.9=h2bbff1b_7
- - brotli-bin=1.0.9=h2bbff1b_7
- - brotlipy=0.7.0=py310h2bbff1b_1002
- - bzip2=1.0.8=he774522_0
- - c-ares=1.19.0=h2bbff1b_0
- - ca-certificates=2023.05.30=haa95532_0
- - cachetools=4.2.2=pyhd3eb1b0_0
- - certifi=2023.5.7=py310haa95532_0
- - cffi=1.15.1=py310h2bbff1b_3
- - charset-normalizer=2.0.4=pyhd3eb1b0_0
- - click=8.0.4=py310haa95532_0
- - colorama=0.4.6=py310haa95532_0
- - contourpy=1.0.5=py310h59b6b97_0
- - cryptography=39.0.1=py310h21b164f_0
- - cycler=0.11.0=pyhd3eb1b0_0
- - fonttools=4.25.0=pyhd3eb1b0_0
- - freetype=2.12.1=ha860e81_0
- - frozenlist=1.3.3=py310h2bbff1b_0
- - giflib=5.2.1=h8cc25b3_3
- - glib=2.69.1=h5dc1a3c_2
- - google-auth=2.6.0=pyhd3eb1b0_0
- - google-auth-oauthlib=0.4.4=pyhd3eb1b0_0
- - grpc-cpp=1.48.2=hf108199_0
- - grpcio=1.48.2=py310hf108199_0
- - gst-plugins-base=1.18.5=h9e645db_0
- - gstreamer=1.18.5=hd78058f_0
- - icu=58.2=ha925a31_3
- - idna=3.4=py310haa95532_0
- - intel-openmp=2023.1.0=h59b6b97_46319
- - jpeg=9e=h2bbff1b_1
- - kiwisolver=1.4.4=py310hd77b12b_0
- - krb5=1.19.4=h5b6d351_0
- - lerc=3.0=hd77b12b_0
- - libbrotlicommon=1.0.9=h2bbff1b_7
- - libbrotlidec=1.0.9=h2bbff1b_7
- - libbrotlienc=1.0.9=h2bbff1b_7
- - libclang=14.0.6=default_hb5a9fac_1
- - libclang13=14.0.6=default_h8e68704_1
- - libdeflate=1.17=h2bbff1b_0
- - libffi=3.4.4=hd77b12b_0
- - libiconv=1.16=h2bbff1b_2
- - libogg=1.3.5=h2bbff1b_1
- - libpng=1.6.39=h8cc25b3_0
- - libprotobuf=3.20.3=h23ce68f_0
- - libtiff=4.5.0=h6c2663c_2
- - libuv=1.44.2=h2bbff1b_0
- - libvorbis=1.3.7=he774522_0
- - libwebp=1.2.4=hbc33d0d_1
- - libwebp-base=1.2.4=h2bbff1b_1
- - libxml2=2.10.3=h0ad7f3c_0
- - libxslt=1.1.37=h2bbff1b_0
- - lz4-c=1.9.4=h2bbff1b_0
- - markdown=3.4.1=py310haa95532_0
- - markupsafe=2.1.1=py310h2bbff1b_0
- - matplotlib=3.7.1=py310haa95532_1
- - matplotlib-base=3.7.1=py310h4ed8f06_1
- - mkl=2023.1.0=h8bd8f75_46356
- - mkl-service=2.4.0=py310h2bbff1b_1
- - mkl_fft=1.3.6=py310h4ed8f06_1
- - mkl_random=1.2.2=py310h4ed8f06_1
- - multidict=6.0.2=py310h2bbff1b_0
- - munkres=1.1.4=py_0
- - numexpr=2.8.4=py310h2cd9be0_1
- - numpy=1.24.3=py310h055cbcc_1
- - numpy-base=1.24.3=py310h65a83cf_1
- - oauthlib=3.2.2=py310haa95532_0
- - openssl=1.1.1t=h2bbff1b_0
- - packaging=23.0=py310haa95532_0
- - pandas=1.5.3=py310h4ed8f06_0
- - pcre=8.45=hd77b12b_0
- - pillow=9.4.0=py310hd77b12b_0
- - pip=23.0.1=py310haa95532_0
- - ply=3.11=py310haa95532_0
- - protobuf=3.20.3=py310hd77b12b_0
- - pyasn1=0.4.8=pyhd3eb1b0_0
- - pyasn1-modules=0.2.8=py_0
- - pycparser=2.21=pyhd3eb1b0_0
- - pyjwt=2.4.0=py310haa95532_0
- - pyopenssl=23.0.0=py310haa95532_0
- - pyparsing=3.0.9=py310haa95532_0
- - pyqt=5.15.7=py310hd77b12b_0
- - pyqt5-sip=12.11.0=py310hd77b12b_0
- - pysocks=1.7.1=py310haa95532_0
- - python=3.10.11=h966fe2a_2
- - python-dateutil=2.8.2=pyhd3eb1b0_0
- - pytorch-mutex=1.0=cpu
- - pytz=2022.7=py310haa95532_0
- - pyyaml=6.0=py310h2bbff1b_1
- - qt-main=5.15.2=he8e5bd7_8
- - qt-webengine=5.15.9=hb9a9bb5_5
- - qtwebkit=5.212=h2bbfb41_5
- - re2=2022.04.01=hd77b12b_0
- - requests=2.29.0=py310haa95532_0
- - requests-oauthlib=1.3.0=py_0
- - rsa=4.7.2=pyhd3eb1b0_1
- - setuptools=67.8.0=py310haa95532_0
- - sip=6.6.2=py310hd77b12b_0
- - six=1.16.0=pyhd3eb1b0_1
- - sqlite=3.41.2=h2bbff1b_0
- - tbb=2021.8.0=h59b6b97_0
- - tensorboard=2.10.0=py310haa95532_0
- - tensorboard-data-server=0.6.1=py310haa95532_0
- - tensorboard-plugin-wit=1.8.1=py310haa95532_0
- - tk=8.6.12=h2bbff1b_0
- - toml=0.10.2=pyhd3eb1b0_0
- - tornado=6.2=py310h2bbff1b_0
- - tqdm=4.65.0=py310h9909e9c_0
- - typing_extensions=4.5.0=py310haa95532_0
- - tzdata=2023c=h04d1e81_0
- - urllib3=1.26.16=py310haa95532_0
- - vc=14.2=h21ff451_1
- - vs2015_runtime=14.27.29016=h5e58377_2
- - werkzeug=2.2.3=py310haa95532_0
- - wheel=0.38.4=py310haa95532_0
- - win_inet_pton=1.1.0=py310haa95532_0
- - xz=5.4.2=h8cc25b3_0
- - yaml=0.2.5=he774522_0
- - yarl=1.8.1=py310h2bbff1b_0
- - zlib=1.2.13=h8cc25b3_0
- - zstd=1.5.5=hd43e919_0
- - pip:
- - antlr4-python3-runtime==4.8
- - appdirs==1.4.4
- - audioread==3.0.0
- - bitarray==2.7.4
- - cython==0.29.35
- - decorator==5.1.1
- - fairseq==0.12.2
- - faiss-cpu==1.7.4
- - filelock==3.12.0
- - hydra-core==1.0.7
- - jinja2==3.1.2
- - joblib==1.2.0
- - lazy-loader==0.2
- - librosa==0.10.0.post2
- - llvmlite==0.40.0
- - lxml==4.9.2
- - mpmath==1.3.0
- - msgpack==1.0.5
- - networkx==3.1
- - noisereduce==2.0.1
- - numba==0.57.0
- - omegaconf==2.0.6
- - opencv-python==4.7.0.72
- - pooch==1.6.0
- - portalocker==2.7.0
- - FreeSimpleGUI
- - pywin32==306
- - pyworld==0.3.3
- - regex==2023.5.5
- - sacrebleu==2.3.1
- - scikit-learn==1.2.2
- - scipy==1.10.1
- - sounddevice==0.4.6
- - soundfile==0.12.1
- - soxr==0.3.5
- - sympy==1.12
- - tabulate==0.9.0
- - threadpoolctl==3.1.0
- - torch==2.0.0
- - torch-directml==0.2.0.dev230426
- - torchaudio==2.0.1
- - torchvision==0.15.1
- - wget==3.2
-prefix: D:\ProgramData\anaconda3_\envs\pydml
diff --git a/go-realtime-gui-dml.bat b/go-realtime-gui-dml.bat
deleted file mode 100644
index 0f92142..0000000
--- a/go-realtime-gui-dml.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-runtime\python.exe gui_v1.py --pycmd runtime\python.exe --nocheck --dml
-pause
diff --git a/go-realtime-gui.bat b/go-realtime-gui.bat
deleted file mode 100644
index d1eeb9e..0000000
--- a/go-realtime-gui.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-runtime\python.exe gui_v1.py --nocheck
-pause
diff --git a/go-web-dml.bat b/go-web-dml.bat
deleted file mode 100644
index 2bb2901..0000000
--- a/go-web-dml.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-runtime\python.exe infer-web.py --pycmd runtime\python.exe --nocheck --port 7897 --dml
-pause
diff --git a/go-web.bat b/go-web.bat
deleted file mode 100644
index 3b91773..0000000
--- a/go-web.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-runtime\python.exe infer-web.py --pycmd runtime\python.exe --nocheck --port 7897
-pause
diff --git a/gui_v1.py b/gui.py
similarity index 100%
rename from gui_v1.py
rename to gui.py
diff --git a/i18n/locale/pt_BR.json b/i18n/locale/pt_BR.json
index b9cc59b..608c04d 100644
--- a/i18n/locale/pt_BR.json
+++ b/i18n/locale/pt_BR.json
@@ -91,7 +91,7 @@
"是否缓存所有训练集至显存. 10min以下小数据可缓存以加速训练, 大数据缓存会炸显存也加不了多少速": "Se deve armazenar em cache todos os conjuntos de treinamento na memória de vídeo. Pequenos dados com menos de 10 minutos podem ser armazenados em cache para acelerar o treinamento, e um cache de dados grande irá explodir a memória de vídeo e não aumentar muito a velocidade:",
"显卡信息": "Informações da GPU",
"有": "有",
- "本软件以MIT协议开源, 作者不对软件具备任何控制力, 使用软件者、传播软件导出的声音者自负全责.
如不认可该条款, 则不能使用或引用软件包内任何代码和文件. 详见根目录LICENSE.": "The Mangio-RVC 💻 | Tradução por Krisp e Rafael Godoy Ebert | AI HUB BRASIL
Este software é de código aberto sob a licença MIT. O autor não tem qualquer controle sobre o software. Aqueles que usam o software e divulgam os sons exportados pelo software são totalmente responsáveis.
Se você não concorda com este termo, você não pode usar ou citar nenhum código e arquivo no pacote de software. Para obter detalhes, consulte o diretório raiz O acordo a ser seguido para uso LICENSE",
+ "本软件以MIT协议开源, 作者不对软件具备任何控制力, 使用软件者、传播软件导出的声音者自负全责.
如不认可该条款, 则不能使用或引用软件包内任何代码和文件. 详见根目录LICENSE.": "The Mangio-RVC 💻 | Tradução por Krisp e Rafael Godoy Ebert | AI HUB BRASIL
Este software é de código aberto sob a licença MIT. O autor não tem qualquer controle sobre o software. Aqueles que usam o software e divulgam os sons exportados pelo software são totalmente responsáveis.
Se você não concorda com este termo, você não pode usar ou citar nenhum código e arquivo no pacote de software. Para obter detalhes, consulte o diretório raiz O acordo a ser seguido para uso LICENSE",
"查看": "Visualizar",
"检索特征占比": "Taxa de recurso de recuperação:",
"模型": "Modelo",
diff --git a/infer/lib/rvcmd.py b/infer/lib/rvcmd.py
index 73d775d..8c53549 100644
--- a/infer/lib/rvcmd.py
+++ b/infer/lib/rvcmd.py
@@ -196,7 +196,7 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
exit(1)
try:
BASE_URL = (
- "https://github.com/RVC-Project/RVC-Models-Downloader/releases/download/"
+ "https://github.com/fumiama/RVC-Models-Downloader/releases/download/"
)
suffix = "zip" if is_win else "tar.gz"
RVCMD_URL = BASE_URL + f"v{version}/rvcmd_{system_type}_{architecture}.{suffix}"
diff --git a/requirements-amd.txt b/requirements-amd.txt
index 5eb42c6..949e761 100644
--- a/requirements-amd.txt
+++ b/requirements-amd.txt
@@ -7,7 +7,7 @@ librosa==0.9.1
llvmlite==0.39.0
fairseq==0.12.2
faiss-cpu==1.7.3
-gradio==4.23.0
+gradio
Cython
pydub>=0.25.1
soundfile>=0.12.1
diff --git a/requirements-dml.txt b/requirements-dml.txt
index 7a6106e..4906cdc 100644
--- a/requirements-dml.txt
+++ b/requirements-dml.txt
@@ -6,7 +6,7 @@ librosa==0.9.1
llvmlite==0.39.0
fairseq==0.12.2
faiss-cpu==1.7.3
-gradio==4.23.0
+gradio
Cython
pydub>=0.25.1
soundfile>=0.12.1
diff --git a/requirements-win-for-realtime_vc_gui-dml.txt b/requirements-gui-dml.txt
similarity index 100%
rename from requirements-win-for-realtime_vc_gui-dml.txt
rename to requirements-gui-dml.txt
diff --git a/requirements-win-for-realtime_vc_gui.txt b/requirements-gui.txt
similarity index 100%
rename from requirements-win-for-realtime_vc_gui.txt
rename to requirements-gui.txt
diff --git a/requirements-ipex.txt b/requirements-ipex.txt
index cac27bf..1e1199d 100644
--- a/requirements-ipex.txt
+++ b/requirements-ipex.txt
@@ -11,7 +11,7 @@ librosa==0.9.1
llvmlite==0.39.0
fairseq==0.12.2
faiss-cpu==1.7.3
-gradio==4.23.0
+gradio
Cython
pydub>=0.25.1
soundfile>=0.12.1
diff --git a/requirements-py311.txt b/requirements-py311.txt
index bb3ff29..ab52448 100644
--- a/requirements-py311.txt
+++ b/requirements-py311.txt
@@ -6,7 +6,7 @@ librosa==0.9.1
llvmlite
fairseq @ git+https://github.com/One-sixth/fairseq.git
faiss-cpu
-gradio==4.23.0
+gradio
Cython
pydub>=0.25.1
soundfile>=0.12.1
diff --git a/requirements.txt b/requirements.txt
index de4dac1..0cdd79b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,7 @@ librosa==0.9.1
llvmlite
fairseq
faiss-cpu
-gradio==4.23.0
+gradio
Cython
pydub>=0.25.1
soundfile>=0.12.1
diff --git a/tools/dlmodels.bat b/tools/dlmodels.bat
deleted file mode 100644
index b83825a..0000000
--- a/tools/dlmodels.bat
+++ /dev/null
@@ -1,362 +0,0 @@
-@echo off && chcp 65001
-
-echo working dir is %cd%
-echo downloading requirement aria2 check.
-echo=
-dir /a:d/b | findstr "aria2" > flag.txt
-findstr "aria2" flag.txt >nul
-if %errorlevel% ==0 (
- echo aria2 checked.
- echo=
-) else (
- echo failed. please downloading aria2 from webpage!
- echo unzip it and put in this directory!
- timeout /T 5
- start https://github.com/aria2/aria2/releases/tag/release-1.36.0
- echo=
- goto end
-)
-
-echo envfiles checking start.
-echo=
-
-for /f %%x in ('findstr /i /c:"aria2" "flag.txt"') do (set aria2=%%x)&goto endSch
-:endSch
-
-set d32=f0D32k.pth
-set d40=f0D40k.pth
-set d48=f0D48k.pth
-set g32=f0G32k.pth
-set g40=f0G40k.pth
-set g48=f0G48k.pth
-
-set d40v2=f0D40k.pth
-set g40v2=f0G40k.pth
-
-set dld32=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D32k.pth
-set dld40=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D40k.pth
-set dld48=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D48k.pth
-set dlg32=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G32k.pth
-set dlg40=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G40k.pth
-set dlg48=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G48k.pth
-
-set dld40v2=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth
-set dlg40v2=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth
-
-set hp2_all=HP2_all_vocals.pth
-set hp3_all=HP3_all_vocals.pth
-set hp5_only=HP5_only_main_vocal.pth
-set VR_DeEchoAggressive=VR-DeEchoAggressive.pth
-set VR_DeEchoDeReverb=VR-DeEchoDeReverb.pth
-set VR_DeEchoNormal=VR-DeEchoNormal.pth
-set onnx_dereverb=vocals.onnx
-
-set dlhp2_all=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2_all_vocals.pth
-set dlhp3_all=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP3_all_vocals.pth
-set dlhp5_only=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5_only_main_vocal.pth
-set dlVR_DeEchoAggressive=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoAggressive.pth
-set dlVR_DeEchoDeReverb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoDeReverb.pth
-set dlVR_DeEchoNormal=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoNormal.pth
-set dlonnx_dereverb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/onnx_dereverb_By_FoxJoy/vocals.onnx
-
-set hb=hubert_base.pt
-
-set dlhb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt
-
-set rmvpe=rmvpe.pt
-set dlrmvpe=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt
-
-echo dir check start.
-echo=
-
-if exist "%~dp0assets\pretrained" (
- echo dir .\assets\pretrained checked.
- ) else (
- echo failed. generating dir .\assets\pretrained.
- mkdir pretrained
- )
-if exist "%~dp0assets\pretrained_v2" (
- echo dir .\assets\pretrained_v2 checked.
- ) else (
- echo failed. generating dir .\assets\pretrained_v2.
- mkdir pretrained_v2
- )
-if exist "%~dp0assets\uvr5_weights" (
- echo dir .\assets\uvr5_weights checked.
- ) else (
- echo failed. generating dir .\assets\uvr5_weights.
- mkdir uvr5_weights
- )
-if exist "%~dp0assets\uvr5_weights\onnx_dereverb_By_FoxJoy" (
- echo dir .\assets\uvr5_weights\onnx_dereverb_By_FoxJoy checked.
- ) else (
- echo failed. generating dir .\assets\uvr5_weights\onnx_dereverb_By_FoxJoy.
- mkdir uvr5_weights\onnx_dereverb_By_FoxJoy
- )
-
-echo=
-echo dir check finished.
-
-echo=
-echo required files check start.
-
-echo checking D32k.pth
-if exist "%~dp0assets\pretrained\D32k.pth" (
- echo D32k.pth in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D32k.pth -d %~dp0assets\pretrained -o D32k.pth
- if exist "%~dp0assets\pretrained\D32k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking D40k.pth
-if exist "%~dp0assets\pretrained\D40k.pth" (
- echo D40k.pth in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D40k.pth -d %~dp0assets\pretrained -o D40k.pth
- if exist "%~dp0assets\pretrained\D40k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking D40k.pth
-if exist "%~dp0assets\pretrained_v2\D40k.pth" (
- echo D40k.pth in .\assets\pretrained_v2 checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d %~dp0assets\pretrained_v2 -o D40k.pth
- if exist "%~dp0assets\pretrained_v2\D40k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking D48k.pth
-if exist "%~dp0assets\pretrained\D48k.pth" (
- echo D48k.pth in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D48k.pth -d %~dp0assets\pretrained -o D48k.pth
- if exist "%~dp0assets\pretrained\D48k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking G32k.pth
-if exist "%~dp0assets\pretrained\G32k.pth" (
- echo G32k.pth in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G32k.pth -d %~dp0assets\pretrained -o G32k.pth
- if exist "%~dp0assets\pretrained\G32k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking G40k.pth
-if exist "%~dp0assets\pretrained\G40k.pth" (
- echo G40k.pth in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G40k.pth -d %~dp0assets\pretrained -o G40k.pth
- if exist "%~dp0assets\pretrained\G40k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking G40k.pth
-if exist "%~dp0assets\pretrained_v2\G40k.pth" (
- echo G40k.pth in .\assets\pretrained_v2 checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d %~dp0assets\pretrained_v2 -o G40k.pth
- if exist "%~dp0assets\pretrained_v2\G40k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking G48k.pth
-if exist "%~dp0assets\pretrained\G48k.pth" (
- echo G48k.pth in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G48k.pth -d %~dp0assets\pretrained -o G48k.pth
- if exist "%~dp0assets\pretrained\G48k.pth" (echo download successful.) else (echo please try again!
- echo=)
- )
-
-echo checking %d32%
-if exist "%~dp0assets\pretrained\%d32%" (
- echo %d32% in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld32% -d %~dp0assets\pretrained -o %d32%
- if exist "%~dp0assets\pretrained\%d32%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %d40%
-if exist "%~dp0assets\pretrained\%d40%" (
- echo %d40% in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld40% -d %~dp0assets\pretrained -o %d40%
- if exist "%~dp0assets\pretrained\%d40%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %d40v2%
-if exist "%~dp0assets\pretrained_v2\%d40v2%" (
- echo %d40v2% in .\assets\pretrained_v2 checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld40v2% -d %~dp0assets\pretrained_v2 -o %d40v2%
- if exist "%~dp0assets\pretrained_v2\%d40v2%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %d48%
-if exist "%~dp0assets\pretrained\%d48%" (
- echo %d48% in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld48% -d %~dp0assets\pretrained -o %d48%
- if exist "%~dp0assets\pretrained\%d48%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %g32%
-if exist "%~dp0assets\pretrained\%g32%" (
- echo %g32% in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg32% -d %~dp0assets\pretrained -o %g32%
- if exist "%~dp0assets\pretrained\%g32%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %g40%
-if exist "%~dp0assets\pretrained\%g40%" (
- echo %g40% in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg40% -d %~dp0assets\pretrained -o %g40%
- if exist "%~dp0assets\pretrained\%g40%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %g40v2%
-if exist "%~dp0assets\pretrained_v2\%g40v2%" (
- echo %g40v2% in .\assets\pretrained_v2 checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg40v2% -d %~dp0assets\pretrained_v2 -o %g40v2%
- if exist "%~dp0assets\pretrained_v2\%g40v2%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %g48%
-if exist "%~dp0assets\pretrained\%g48%" (
- echo %g48% in .\assets\pretrained checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg48% -d %~dp0assets\pretrained -o %g48%
- if exist "%~dp0assets\pretrained\%g48%" (echo download successful.) else (echo please try again!
- echo=)
- )
-
-echo checking %hp2_all%
-if exist "%~dp0assets\uvr5_weights\%hp2_all%" (
- echo %hp2_all% in .\assets\uvr5_weights checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp2_all% -d %~dp0assets\uvr5_weights -o %hp2_all%
- if exist "%~dp0assets\uvr5_weights\%hp2_all%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %hp3_all%
-if exist "%~dp0assets\uvr5_weights\%hp3_all%" (
- echo %hp3_all% in .\assets\uvr5_weights checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp3_all% -d %~dp0assets\uvr5_weights -o %hp3_all%
- if exist "%~dp0assets\uvr5_weights\%hp3_all%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %hp5_only%
-if exist "%~dp0assets\uvr5_weights\%hp5_only%" (
- echo %hp5_only% in .\assets\uvr5_weights checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp5_only% -d %~dp0assets\uvr5_weights -o %hp5_only%
- if exist "%~dp0assets\uvr5_weights\%hp5_only%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %VR_DeEchoAggressive%
-if exist "%~dp0assets\uvr5_weights\%VR_DeEchoAggressive%" (
- echo %VR_DeEchoAggressive% in .\assets\uvr5_weights checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoAggressive% -d %~dp0assets\uvr5_weights -o %VR_DeEchoAggressive%
- if exist "%~dp0assets\uvr5_weights\%VR_DeEchoAggressive%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %VR_DeEchoDeReverb%
-if exist "%~dp0assets\uvr5_weights\%VR_DeEchoDeReverb%" (
- echo %VR_DeEchoDeReverb% in .\assets\uvr5_weights checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoDeReverb% -d %~dp0assets\uvr5_weights -o %VR_DeEchoDeReverb%
- if exist "%~dp0assets\uvr5_weights\%VR_DeEchoDeReverb%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %VR_DeEchoNormal%
-if exist "%~dp0assets\uvr5_weights\%VR_DeEchoNormal%" (
- echo %VR_DeEchoNormal% in .\assets\uvr5_weights checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoNormal% -d %~dp0assets\uvr5_weights -o %VR_DeEchoNormal%
- if exist "%~dp0assets\uvr5_weights\%VR_DeEchoNormal%" (echo download successful.) else (echo please try again!
- echo=)
- )
-echo checking %onnx_dereverb%
-if exist "%~dp0assets\uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb%" (
- echo %onnx_dereverb% in .\assets\uvr5_weights\onnx_dereverb_By_FoxJoy checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlonnx_dereverb% -d %~dp0assets\uvr5_weights\onnx_dereverb_By_FoxJoy -o %onnx_dereverb%
- if exist "%~dp0assets\uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb%" (echo download successful.) else (echo please try again!
- echo=)
- )
-
-echo checking %hb%
-if exist "%~dp0assets\hubert\%hb%" (
- echo %hb% in .\assets\hubert checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhb% -d %~dp0assets\hubert\ -o %hb%
- if exist "%~dp0assets\hubert\%hb%" (echo download successful.) else (echo please try again!
- echo=)
- )
-
-echo checking %rmvpe%
-if exist "%~dp0assets\rmvpe\%rmvpe%" (
- echo %rmvpe% in .\assets\rmvpe checked.
- echo=
- ) else (
- echo failed. starting download from huggingface.
- %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlrmvpe% -d %~dp0assets\rmvpe\ -o %rmvpe%
- if exist "%~dp0assets\rmvpe\%rmvpe%" (echo download successful.) else (echo please try again!
- echo=)
- )
-
-echo required files check finished.
-echo envfiles check complete.
-pause
-:end
-del flag.txt
diff --git a/tools/dlmodels.sh b/tools/dlmodels.sh
deleted file mode 100755
index dddf519..0000000
--- a/tools/dlmodels.sh
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-
-printf "working dir is %s\n" "$PWD"
-echo "downloading requirement aria2 check."
-
-if command -v aria2c > /dev/null 2>&1
-then
- echo "aria2 command found"
-else
- echo "failed. please install aria2"
- exit 1
-fi
-
-echo "dir check start."
-
-check_dir() {
- [ -d "$1" ] && printf "dir %s checked\n" "$1" || \
- printf "failed. generating dir %s\n" "$1" && mkdir -p "$1"
-}
-
-check_dir "./assets/pretrained"
-check_dir "./assets/pretrained_v2"
-check_dir "./assets/uvr5_weights"
-check_dir "./assets/uvr5_weights/onnx_dereverb_By_FoxJoy"
-
-echo "dir check finished."
-
-echo "required files check start."
-check_file_pretrained() {
- printf "checking %s\n" "$2"
- if [ -f "./assets/""$1""/""$2""" ]; then
- printf "%s in ./assets/%s checked.\n" "$2" "$1"
- else
- echo failed. starting download from huggingface.
- if command -v aria2c > /dev/null 2>&1; then
- aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/"$1"/"$2" -d ./assets/"$1" -o "$2"
- [ -f "./assets/""$1""/""$2""" ] && echo "download successful." || (echo "please try again!" && exit 1)
- else
- echo "aria2c command not found. Please install aria2c and try again."
- exit 1
- fi
- fi
-}
-
-check_file_special() {
- printf "checking %s\n" "$2"
- if [ -f "./assets/""$1""/""$2""" ]; then
- printf "%s in ./assets/%s checked.\n" "$2" "$1"
- else
- echo failed. starting download from huggingface.
- if command -v aria2c > /dev/null 2>&1; then
- aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/"$2" -d ./assets/"$1" -o "$2"
- [ -f "./assets/""$1""/""$2""" ] && echo "download successful." || (echo "please try again!" && exit 1)
- else
- echo "aria2c command not found. Please install aria2c and try again."
- exit 1
- fi
- fi
-}
-
-check_file_pretrained pretrained D32k.pth
-check_file_pretrained pretrained D40k.pth
-check_file_pretrained pretrained D48k.pth
-check_file_pretrained pretrained G32k.pth
-check_file_pretrained pretrained G40k.pth
-check_file_pretrained pretrained G48k.pth
-check_file_pretrained pretrained_v2 f0D40k.pth
-check_file_pretrained pretrained_v2 f0G40k.pth
-check_file_pretrained pretrained_v2 D40k.pth
-check_file_pretrained pretrained_v2 G40k.pth
-check_file_pretrained uvr5_weights HP2_all_vocals.pth
-check_file_pretrained uvr5_weights HP3_all_vocals.pth
-check_file_pretrained uvr5_weights HP5_only_main_vocal.pth
-check_file_pretrained uvr5_weights VR-DeEchoAggressive.pth
-check_file_pretrained uvr5_weights VR-DeEchoDeReverb.pth
-check_file_pretrained uvr5_weights VR-DeEchoNormal.pth
-check_file_pretrained uvr5_weights "onnx_dereverb_By_FoxJoy/vocals.onnx"
-check_file_special rmvpe rmvpe.pt
-check_file_special hubert hubert_base.pt
-
-echo "required files check finished."
diff --git a/tools/download_models.py b/tools/download_models.py
deleted file mode 100644
index 94e0389..0000000
--- a/tools/download_models.py
+++ /dev/null
@@ -1,79 +0,0 @@
-import os
-from pathlib import Path
-import requests
-
-RVC_DOWNLOAD_LINK = "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/"
-
-BASE_DIR = Path(__file__).resolve().parent.parent
-
-
-def dl_model(link, model_name, dir_name):
- with requests.get(f"{link}{model_name}") as r:
- r.raise_for_status()
- os.makedirs(os.path.dirname(dir_name / model_name), exist_ok=True)
- with open(dir_name / model_name, "wb") as f:
- for chunk in r.iter_content(chunk_size=8192):
- f.write(chunk)
-
-
-if __name__ == "__main__":
- print("Downloading hubert_base.pt...")
- dl_model(RVC_DOWNLOAD_LINK, "hubert_base.pt", BASE_DIR / "assets/hubert")
- print("Downloading rmvpe.pt...")
- dl_model(RVC_DOWNLOAD_LINK, "rmvpe.pt", BASE_DIR / "assets/rmvpe")
- print("Downloading vocals.onnx...")
- dl_model(
- RVC_DOWNLOAD_LINK + "uvr5_weights/onnx_dereverb_By_FoxJoy/",
- "vocals.onnx",
- BASE_DIR / "assets/uvr5_weights/onnx_dereverb_By_FoxJoy",
- )
-
- rvc_models_dir = BASE_DIR / "assets/pretrained"
-
- print("Downloading pretrained models:")
-
- model_names = [
- "D32k.pth",
- "D40k.pth",
- "D48k.pth",
- "G32k.pth",
- "G40k.pth",
- "G48k.pth",
- "f0D32k.pth",
- "f0D40k.pth",
- "f0D48k.pth",
- "f0G32k.pth",
- "f0G40k.pth",
- "f0G48k.pth",
- ]
- for model in model_names:
- print(f"Downloading {model}...")
- dl_model(RVC_DOWNLOAD_LINK + "pretrained/", model, rvc_models_dir)
-
- rvc_models_dir = BASE_DIR / "assets/pretrained_v2"
-
- print("Downloading pretrained models v2:")
-
- for model in model_names:
- print(f"Downloading {model}...")
- dl_model(RVC_DOWNLOAD_LINK + "pretrained_v2/", model, rvc_models_dir)
-
- print("Downloading uvr5_weights:")
-
- rvc_models_dir = BASE_DIR / "assets/uvr5_weights"
-
- model_names = [
- "HP2-%E4%BA%BA%E5%A3%B0vocals%2B%E9%9D%9E%E4%BA%BA%E5%A3%B0instrumentals.pth",
- "HP2_all_vocals.pth",
- "HP3_all_vocals.pth",
- "HP5-%E4%B8%BB%E6%97%8B%E5%BE%8B%E4%BA%BA%E5%A3%B0vocals%2B%E5%85%B6%E4%BB%96instrumentals.pth",
- "HP5_only_main_vocal.pth",
- "VR-DeEchoAggressive.pth",
- "VR-DeEchoDeReverb.pth",
- "VR-DeEchoNormal.pth",
- ]
- for model in model_names:
- print(f"Downloading {model}...")
- dl_model(RVC_DOWNLOAD_LINK + "uvr5_weights/", model, rvc_models_dir)
-
- print("All models downloaded!")
diff --git a/tools/ipynb/v1.ipynb b/tools/ipynb/v1.ipynb
deleted file mode 100644
index 598fe4e..0000000
--- a/tools/ipynb/v1.ipynb
+++ /dev/null
@@ -1,353 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "WHBMn6dOWm-S"
- },
- "source": [
- "# [Retrieval-based-Voice-Conversion-WebUI](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI) Training notebook"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "ZFFCx5J80SGa"
- },
- "source": [
- "[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/colab/v1.ipynb)"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "GmFP6bN9dvOq"
- },
- "outputs": [],
- "source": [
- "# @title 查看显卡\n",
- "!nvidia-smi"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "jwu07JgqoFON"
- },
- "outputs": [],
- "source": [
- "# @title 挂载谷歌云盘\n",
- "\n",
- "from google.colab import drive\n",
- "\n",
- "drive.mount(\"/content/drive\")"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "wjddIFr1oS3W"
- },
- "outputs": [],
- "source": [
- "# @title 安装依赖\n",
- "!apt -y install build-essential python3-dev ffmpeg\n",
- "!pip3 install --upgrade setuptools wheel\n",
- "!pip3 install --upgrade pip"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "ge_97mfpgqTm"
- },
- "outputs": [],
- "source": [
- "# @title 克隆仓库\n",
- "\n",
- "!git clone --depth=1 -b v1 https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI\n",
- "%cd /content/Retrieval-based-Voice-Conversion-WebUI"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "BLDEZADkvlw1"
- },
- "outputs": [],
- "source": [
- "# @title 安装依赖\n",
- "!pip install -r requirements.txt"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "pqE0PrnuRqI2"
- },
- "outputs": [],
- "source": [
- "# @title 下载安装 RVC-Models-Downloader\n",
- "!wget https://github.com/RVC-Project/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb\n",
- "!apt install ./rvcmd_linux_amd64.deb"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "UG3XpUwEomUz"
- },
- "outputs": [],
- "source": [
- "# @title 下载所需资源\n",
- "!rvcmd -notrs -w 1 -notui assets/v1\n",
- "!rvcmd -notrs -w 1 -notui assets/rmvpe"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "Mwk7Q0Loqzjx"
- },
- "outputs": [],
- "source": [
- "# @title 从谷歌云盘加载打包好的数据集到/content/dataset\n",
- "\n",
- "# @markdown 数据集位置\n",
- "DATASET = \"/content/drive/MyDrive/mydataset.zip\" # @param {type:\"string\"}\n",
- "\n",
- "!mkdir -p /content/dataset\n",
- "!unzip -d /content/dataset -B {DATASET}"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "PDlFxWHWEynD"
- },
- "outputs": [],
- "source": [
- "# @title 重命名数据集中的重名文件\n",
- "!ls -a /content/dataset/\n",
- "!rename 's/(\\w+)\\.(\\w+)~(\\d*)/$1_$3.$2/' /content/dataset/*.*~*"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "7vh6vphDwO0b"
- },
- "outputs": [],
- "source": [
- "# @title 启动web\n",
- "%cd /content/Retrieval-based-Voice-Conversion-WebUI\n",
- "# %load_ext tensorboard\n",
- "# %tensorboard --logdir /content/Retrieval-based-Voice-Conversion-WebUI/logs\n",
- "!python3 infer-web.py --colab --pycmd python3"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "FgJuNeAwx5Y_"
- },
- "outputs": [],
- "source": [
- "# @title 手动将训练后的模型文件备份到谷歌云盘\n",
- "# @markdown 需要自己查看logs文件夹下模型的文件名,手动修改下方命令末尾的文件名\n",
- "\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth /content/drive/MyDrive/{MODELNAME}_D_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth /content/drive/MyDrive/{MODELNAME}_G_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/added_*.index /content/drive/MyDrive/\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/total_*.npy /content/drive/MyDrive/\n",
- "\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/weights/{MODELNAME}.pth /content/drive/MyDrive/{MODELNAME}{MODELEPOCH}.pth"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "OVQoLQJXS7WX"
- },
- "outputs": [],
- "source": [
- "# @title 从谷歌云盘恢复pth\n",
- "# @markdown 需要自己查看logs文件夹下模型的文件名,手动修改下方命令末尾的文件名\n",
- "\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!mkdir -p /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}\n",
- "\n",
- "!cp /content/drive/MyDrive/{MODELNAME}_D_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth\n",
- "!cp /content/drive/MyDrive/{MODELNAME}_G_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth\n",
- "!cp /content/drive/MyDrive/*.index /content/\n",
- "!cp /content/drive/MyDrive/*.npy /content/\n",
- "!cp /content/drive/MyDrive/{MODELNAME}{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/weights/{MODELNAME}.pth"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "ZKAyuKb9J6dz"
- },
- "outputs": [],
- "source": [
- "# @title 手动预处理(不推荐)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 采样率\n",
- "BITRATE = 48000 # @param {type:\"integer\"}\n",
- "# @markdown 使用的进程数\n",
- "THREADCOUNT = 8 # @param {type:\"integer\"}\n",
- "\n",
- "!python3 trainset_preprocess_pipeline_print.py /content/dataset {BITRATE} {THREADCOUNT} logs/{MODELNAME} True"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "CrxJqzAUKmPJ"
- },
- "outputs": [],
- "source": [
- "# @title 手动提取特征(不推荐)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 使用的进程数\n",
- "THREADCOUNT = 8 # @param {type:\"integer\"}\n",
- "# @markdown 音高提取算法\n",
- "ALGO = \"harvest\" # @param {type:\"string\"}\n",
- "\n",
- "!python3 extract_f0_print.py logs/{MODELNAME} {THREADCOUNT} {ALGO}\n",
- "\n",
- "!python3 extract_feature_print.py cpu 1 0 0 logs/{MODELNAME} True"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "IMLPLKOaKj58"
- },
- "outputs": [],
- "source": [
- "# @title 手动训练(不推荐)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 使用的GPU\n",
- "USEGPU = \"0\" # @param {type:\"string\"}\n",
- "# @markdown 批大小\n",
- "BATCHSIZE = 32 # @param {type:\"integer\"}\n",
- "# @markdown 停止的epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "# @markdown 保存epoch间隔\n",
- "EPOCHSAVE = 100 # @param {type:\"integer\"}\n",
- "# @markdown 采样率\n",
- "MODELSAMPLE = \"48k\" # @param {type:\"string\"}\n",
- "# @markdown 是否缓存训练集\n",
- "CACHEDATA = 1 # @param {type:\"integer\"}\n",
- "# @markdown 是否仅保存最新的ckpt文件\n",
- "ONLYLATEST = 0 # @param {type:\"integer\"}\n",
- "\n",
- "!python3 train_nsf_sim_cache_sid_load_pretrain.py -e lulu -sr {MODELSAMPLE} -f0 1 -bs {BATCHSIZE} -g {USEGPU} -te {MODELEPOCH} -se {EPOCHSAVE} -pg pretrained/f0G{MODELSAMPLE}.pth -pd pretrained/f0D{MODELSAMPLE}.pth -l {ONLYLATEST} -c {CACHEDATA}"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "haYA81hySuDl"
- },
- "outputs": [],
- "source": [
- "# @title 删除其它pth,只留选中的(慎点,仔细看代码)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 选中模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!echo \"备份选中的模型。。。\"\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth /content/{MODELNAME}_D_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth /content/{MODELNAME}_G_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"正在删除。。。\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}\n",
- "!rm /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/*.pth\n",
- "\n",
- "!echo \"恢复选中的模型。。。\"\n",
- "!mv /content/{MODELNAME}_D_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth\n",
- "!mv /content/{MODELNAME}_G_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"删除完成\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "QhSiPTVPoIRh"
- },
- "outputs": [],
- "source": [
- "# @title 清除项目下所有文件,只留选中的模型(慎点,仔细看代码)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 选中模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!echo \"备份选中的模型。。。\"\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth /content/{MODELNAME}_D_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth /content/{MODELNAME}_G_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"正在删除。。。\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}\n",
- "!rm -rf /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/*\n",
- "\n",
- "!echo \"恢复选中的模型。。。\"\n",
- "!mv /content/{MODELNAME}_D_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth\n",
- "!mv /content/{MODELNAME}_G_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"删除完成\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}"
- ]
- }
- ],
- "metadata": {
- "colab": {
- "private_outputs": true,
- "provenance": []
- },
- "kernelspec": {
- "display_name": "Python 3",
- "name": "python3"
- },
- "language_info": {
- "name": "python"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/tools/ipynb/v2.ipynb b/tools/ipynb/v2.ipynb
deleted file mode 100644
index 5c4f68a..0000000
--- a/tools/ipynb/v2.ipynb
+++ /dev/null
@@ -1,352 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "QTSdqTqGcbyr"
- },
- "source": [
- "# [Retrieval-based-Voice-Conversion-WebUI](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI) Training notebook"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "ZFFCx5J80SGa"
- },
- "source": [
- "[](https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/tools/colab/v2.ipynb)"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "GmFP6bN9dvOq"
- },
- "outputs": [],
- "source": [
- "# @title #查看显卡\n",
- "!nvidia-smi"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "jwu07JgqoFON"
- },
- "outputs": [],
- "source": [
- "# @title 挂载谷歌云盘\n",
- "\n",
- "from google.colab import drive\n",
- "\n",
- "drive.mount(\"/content/drive\")"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "wjddIFr1oS3W"
- },
- "outputs": [],
- "source": [
- "# @title #安装依赖\n",
- "!apt -y install build-essential python3-dev ffmpeg\n",
- "!pip3 install --upgrade setuptools wheel\n",
- "!pip3 install --upgrade pip"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "ge_97mfpgqTm"
- },
- "outputs": [],
- "source": [
- "# @title #克隆仓库\n",
- "\n",
- "!git clone --depth=1 -b v2.2 https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI\n",
- "%cd /content/Retrieval-based-Voice-Conversion-WebUI"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "BLDEZADkvlw1"
- },
- "outputs": [],
- "source": [
- "# @title 安装依赖\n",
- "!pip install -r requirements.txt"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "pqE0PrnuRqI2"
- },
- "outputs": [],
- "source": [
- "# @title 下载安装 RVC-Models-Downloader\n",
- "!wget https://github.com/RVC-Project/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb\n",
- "!apt install ./rvcmd_linux_amd64.deb"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "UG3XpUwEomUz"
- },
- "outputs": [],
- "source": [
- "# @title 下载所需资源\n",
- "!rvcmd -notrs -w 1 -notui assets/all"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "Mwk7Q0Loqzjx"
- },
- "outputs": [],
- "source": [
- "# @title #从谷歌云盘加载打包好的数据集到/content/dataset\n",
- "\n",
- "# @markdown 数据集位置\n",
- "DATASET = \"/content/drive/MyDrive/mydataset.zip\" # @param {type:\"string\"}\n",
- "\n",
- "!mkdir -p /content/dataset\n",
- "!unzip -d /content/dataset -B {DATASET}"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "PDlFxWHWEynD"
- },
- "outputs": [],
- "source": [
- "# @title #重命名数据集中的重名文件\n",
- "!ls -a /content/dataset/\n",
- "!rename 's/(\\w+)\\.(\\w+)~(\\d*)/$1_$3.$2/' /content/dataset/*.*~*"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "7vh6vphDwO0b"
- },
- "outputs": [],
- "source": [
- "# @title #启动webui\n",
- "%cd /content/Retrieval-based-Voice-Conversion-WebUI\n",
- "# %load_ext tensorboard\n",
- "# %tensorboard --logdir /content/Retrieval-based-Voice-Conversion-WebUI/logs\n",
- "!python3 infer-web.py --colab --pycmd python3"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "FgJuNeAwx5Y_"
- },
- "outputs": [],
- "source": [
- "# @title #手动将训练后的模型文件备份到谷歌云盘\n",
- "# @markdown #需要自己查看logs文件夹下模型的文件名,手动修改下方命令末尾的文件名\n",
- "\n",
- "# @markdown #模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown #模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth /content/drive/MyDrive/{MODELNAME}_D_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth /content/drive/MyDrive/{MODELNAME}_G_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/added_*.index /content/drive/MyDrive/\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/total_*.npy /content/drive/MyDrive/\n",
- "\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/weights/{MODELNAME}.pth /content/drive/MyDrive/{MODELNAME}{MODELEPOCH}.pth"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "OVQoLQJXS7WX"
- },
- "outputs": [],
- "source": [
- "# @title 从谷歌云盘恢复pth\n",
- "# @markdown 需要自己查看logs文件夹下模型的文件名,手动修改下方命令末尾的文件名\n",
- "\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!mkdir -p /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}\n",
- "\n",
- "!cp /content/drive/MyDrive/{MODELNAME}_D_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth\n",
- "!cp /content/drive/MyDrive/{MODELNAME}_G_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth\n",
- "!cp /content/drive/MyDrive/*.index /content/\n",
- "!cp /content/drive/MyDrive/*.npy /content/\n",
- "!cp /content/drive/MyDrive/{MODELNAME}{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/weights/{MODELNAME}.pth"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "ZKAyuKb9J6dz"
- },
- "outputs": [],
- "source": [
- "# @title 手动预处理(不推荐)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 采样率\n",
- "BITRATE = 48000 # @param {type:\"integer\"}\n",
- "# @markdown 使用的进程数\n",
- "THREADCOUNT = 8 # @param {type:\"integer\"}\n",
- "\n",
- "!python3 trainset_preprocess_pipeline_print.py /content/dataset {BITRATE} {THREADCOUNT} logs/{MODELNAME} True"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "CrxJqzAUKmPJ"
- },
- "outputs": [],
- "source": [
- "# @title 手动提取特征(不推荐)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 使用的进程数\n",
- "THREADCOUNT = 8 # @param {type:\"integer\"}\n",
- "# @markdown 音高提取算法\n",
- "ALGO = \"harvest\" # @param {type:\"string\"}\n",
- "\n",
- "!python3 extract_f0_print.py logs/{MODELNAME} {THREADCOUNT} {ALGO}\n",
- "\n",
- "!python3 extract_feature_print.py cpu 1 0 0 logs/{MODELNAME} True"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "IMLPLKOaKj58"
- },
- "outputs": [],
- "source": [
- "# @title 手动训练(不推荐)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 使用的GPU\n",
- "USEGPU = \"0\" # @param {type:\"string\"}\n",
- "# @markdown 批大小\n",
- "BATCHSIZE = 32 # @param {type:\"integer\"}\n",
- "# @markdown 停止的epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "# @markdown 保存epoch间隔\n",
- "EPOCHSAVE = 100 # @param {type:\"integer\"}\n",
- "# @markdown 采样率\n",
- "MODELSAMPLE = \"48k\" # @param {type:\"string\"}\n",
- "# @markdown 是否缓存训练集\n",
- "CACHEDATA = 1 # @param {type:\"integer\"}\n",
- "# @markdown 是否仅保存最新的ckpt文件\n",
- "ONLYLATEST = 0 # @param {type:\"integer\"}\n",
- "\n",
- "!python3 train_nsf_sim_cache_sid_load_pretrain.py -e lulu -sr {MODELSAMPLE} -f0 1 -bs {BATCHSIZE} -g {USEGPU} -te {MODELEPOCH} -se {EPOCHSAVE} -pg pretrained/f0G{MODELSAMPLE}.pth -pd pretrained/f0D{MODELSAMPLE}.pth -l {ONLYLATEST} -c {CACHEDATA}"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "haYA81hySuDl"
- },
- "outputs": [],
- "source": [
- "# @title 删除其它pth,只留选中的(慎点,仔细看代码)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 选中模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!echo \"备份选中的模型。。。\"\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth /content/{MODELNAME}_D_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth /content/{MODELNAME}_G_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"正在删除。。。\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}\n",
- "!rm /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/*.pth\n",
- "\n",
- "!echo \"恢复选中的模型。。。\"\n",
- "!mv /content/{MODELNAME}_D_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth\n",
- "!mv /content/{MODELNAME}_G_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"删除完成\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "id": "QhSiPTVPoIRh"
- },
- "outputs": [],
- "source": [
- "# @title 清除项目下所有文件,只留选中的模型(慎点,仔细看代码)\n",
- "# @markdown 模型名\n",
- "MODELNAME = \"mymodel\" # @param {type:\"string\"}\n",
- "# @markdown 选中模型epoch\n",
- "MODELEPOCH = 3200 # @param {type:\"integer\"}\n",
- "\n",
- "!echo \"备份选中的模型。。。\"\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth /content/{MODELNAME}_D_{MODELEPOCH}.pth\n",
- "!cp /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth /content/{MODELNAME}_G_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"正在删除。。。\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}\n",
- "!rm -rf /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/*\n",
- "\n",
- "!echo \"恢复选中的模型。。。\"\n",
- "!mv /content/{MODELNAME}_D_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/G_{MODELEPOCH}.pth\n",
- "!mv /content/{MODELNAME}_G_{MODELEPOCH}.pth /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}/D_{MODELEPOCH}.pth\n",
- "\n",
- "!echo \"删除完成\"\n",
- "!ls /content/Retrieval-based-Voice-Conversion-WebUI/logs/{MODELNAME}"
- ]
- }
- ],
- "metadata": {
- "colab": {
- "private_outputs": true,
- "provenance": []
- },
- "kernelspec": {
- "display_name": "Python 3",
- "name": "python3"
- },
- "language_info": {
- "name": "python"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/infer-web.py b/web.py
similarity index 99%
rename from infer-web.py
rename to web.py
index 71210ac..b30b3bc 100644
--- a/infer-web.py
+++ b/web.py
@@ -1650,7 +1650,7 @@ try:
signal.signal(signal.SIGINT, cleanup)
signal.signal(signal.SIGTERM, cleanup)
- if config.iscolab:
+ if config.global_link:
app.queue(max_size=1022).launch(share=True, max_threads=511)
else:
app.queue(max_size=1022).launch(