From fafe4e7f120fba56c5f053c6db30aa675d5951ba Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 29 May 2025 10:43:48 +0800 Subject: [PATCH 1/4] Update subfix_webui.py --- tools/subfix_webui.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/subfix_webui.py b/tools/subfix_webui.py index b42b30fb..3f2fd03e 100644 --- a/tools/subfix_webui.py +++ b/tools/subfix_webui.py @@ -1,4 +1,3 @@ -# -*- coding: gbk -*- import sys from tools.i18n.i18n import I18nAuto, scan_language_list language = sys.argv[-1] if sys.argv[-1] in scan_language_list() else "Auto" From 4f44cfa174d1b4de4642f2abf1a054ef8e9da8ab Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 29 May 2025 10:53:16 +0800 Subject: [PATCH 2/4] Update webui.py --- webui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui.py b/webui.py index 40d4b07d..6434e40e 100644 --- a/webui.py +++ b/webui.py @@ -199,7 +199,7 @@ def set_default(): else: default_sovits_epoch = 2 default_sovits_save_every_epoch = 1 - max_sovits_epoch = 20 # 40 # 3 + max_sovits_epoch = 16 # 40 # 3 #训太多=作死 max_sovits_save_every_epoch = 10 # 10 # 3 default_batch_size = max(1, default_batch_size) @@ -1419,7 +1419,7 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False) as app: value=process_info(process_name_slice, "close"), variant="primary", visible=False ) - gr.Markdown(value="0bb-" + i18n("语音降噪工具")+i18n("(非必需)")) + gr.Markdown(value="0bb-" + i18n("语音降噪工具")+i18n("(不稳定,先别用,可能劣化模型效果!)")) with gr.Row(): with gr.Column(scale=3): with gr.Row(): From 1934fc1e1b22c4c162bba1bbe7d7ebb132944cdc Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 29 May 2025 11:14:01 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8Duvr5=E5=92=8Connx?= =?UTF-8?q?=E5=8E=BB=E6=B7=B7=E5=93=8D=E6=A8=A1=E5=9E=8Bffmpeg=E7=BC=96?= =?UTF-8?q?=E7=A0=81mp3=E5=92=8Cm4a=E5=8E=9F=E8=B7=AF=E5=BE=84=E5=B8=A6?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC=E4=BC=9A=E6=9C=89bug=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复uvr5和onnx去混响模型ffmpeg编码mp3和m4a原路径带空格会有bug的问题 --- tools/uvr5/mdxnet.py | 4 ++-- tools/uvr5/vr.py | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/tools/uvr5/mdxnet.py b/tools/uvr5/mdxnet.py index e1098273..6548ce24 100644 --- a/tools/uvr5/mdxnet.py +++ b/tools/uvr5/mdxnet.py @@ -190,14 +190,14 @@ class Predictor: opt_path_vocal = path_vocal[:-4] + ".%s" % format opt_path_other = path_other[:-4] + ".%s" % format if os.path.exists(path_vocal): - os.system("ffmpeg -i '%s' -vn '%s' -q:a 2 -y" % (path_vocal, opt_path_vocal)) + os.system("ffmpeg -i \"%s\" -vn \"%s\" -q:a 2 -y" % (path_vocal, opt_path_vocal)) if os.path.exists(opt_path_vocal): try: os.remove(path_vocal) except: pass if os.path.exists(path_other): - os.system("ffmpeg -i '%s' -vn '%s' -q:a 2 -y" % (path_other, opt_path_other)) + os.system("ffmpeg -i \"%s\" -vn \"%s\" -q:a 2 -y" % (path_other, opt_path_other)) if os.path.exists(opt_path_other): try: os.remove(path_other) diff --git a/tools/uvr5/vr.py b/tools/uvr5/vr.py index 4ca8a3b7..8f24ca6a 100644 --- a/tools/uvr5/vr.py +++ b/tools/uvr5/vr.py @@ -140,7 +140,9 @@ class AudioPre: ) if os.path.exists(path): opt_format_path = path[:-4] + ".%s" % format - os.system("ffmpeg -i %s -vn %s -q:a 2 -y" % (path, opt_format_path)) + cmd="ffmpeg -i \"%s\" -vn \"%s\" -q:a 2 -y" % (path, opt_format_path) + print(cmd) + os.system(cmd) if os.path.exists(opt_format_path): try: os.remove(path) @@ -175,7 +177,9 @@ class AudioPre: ) if os.path.exists(path): opt_format_path = path[:-4] + ".%s" % format - os.system("ffmpeg -i %s -vn %s -q:a 2 -y" % (path, opt_format_path)) + cmd="ffmpeg -i \"%s\" -vn \"%s\" -q:a 2 -y" % (path, opt_format_path) + print(cmd) + os.system(cmd) if os.path.exists(opt_format_path): try: os.remove(path) @@ -303,7 +307,9 @@ class AudioPreDeEcho: ) if os.path.exists(path): opt_format_path = path[:-4] + ".%s" % format - os.system("ffmpeg -i %s -vn %s -q:a 2 -y" % (path, opt_format_path)) + cmd="ffmpeg -i \"%s\" -vn \"%s\" -q:a 2 -y" % (path, opt_format_path) + print(cmd) + os.system(cmd) if os.path.exists(opt_format_path): try: os.remove(path) @@ -334,7 +340,9 @@ class AudioPreDeEcho: ) if os.path.exists(path): opt_format_path = path[:-4] + ".%s" % format - os.system("ffmpeg -i %s -vn %s -q:a 2 -y" % (path, opt_format_path)) + cmd="ffmpeg -i \"%s\" -vn \"%s\" -q:a 2 -y" % (path, opt_format_path) + print(cmd) + os.system(cmd) if os.path.exists(opt_format_path): try: os.remove(path) From 968952fd2ab3db8ef228a79072f5456fe20bda52 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 29 May 2025 17:04:30 +0800 Subject: [PATCH 4/4] Update Changelog_CN.md --- docs/cn/Changelog_CN.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/cn/Changelog_CN.md b/docs/cn/Changelog_CN.md index cd1d50d0..5ca97c19 100644 --- a/docs/cn/Changelog_CN.md +++ b/docs/cn/Changelog_CN.md @@ -300,3 +300,24 @@ https://github.com/RVC-Boss/GPT-SoVITS/pull/2112 https://github.com/RVC-Boss/GPT 1-v3支持并行推理 https://github.com/RVC-Boss/GPT-SoVITS/commit/03b662a769946b7a6a8569a354860e8eeeb743aa 2-整合包修复onnxruntime GPU推理的支持, 影响: (1) g2pw有个onnx模型原先是CPU推理现在用GPU, 显著降低推理的CPU瓶颈 (2) foxjoy去混响模型现在可使用GPU推理 + +### 202504/202505更新 + +1-修复uvr5和onnx去混响模型ffmpeg编码mp3和m4a原路径带空格会有bug的问题 +https://github.com/RVC-Boss/GPT-SoVITS/commit/1934fc1e1b22c4c162bba1bbe7d7ebb132944cdc + +2-标注界面增加友情提示标注完每一面都要点submit text否则白忙活 +https://github.com/RVC-Boss/GPT-SoVITS/commit/fafe4e7f120fba56c5f053c6db30aa675d5951ba +https://github.com/RVC-Boss/GPT-SoVITS/commit/8c705784c50bf438c7b6d0be33a9e5e3cb90e6b2 + +3-通过缓存策略使sovits推理提速10% +https://github.com/RVC-Boss/GPT-SoVITS/pull/2377 + +4-混合语种切分识别逻辑优化 +https://github.com/RVC-Boss/GPT-SoVITS/pull/2408 + +5-完善colab/kaggle notebook脚本,完善linux环境配置脚本,docker环境,windows自动构建脚本 +https://github.com/RVC-Boss/GPT-SoVITS/commit/ad7df5298bea51273c86c05b5b13f28ed7d9fe16 +https://github.com/RVC-Boss/GPT-SoVITS/commit/d5e479dad6342222eb4887df627e69c048d2338c + +预告:端午后基于V2版本进行重大优化更新!