From 0dae0d70f3b769bd2a7e74032af1bbb77a3a28ed Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Tue, 6 Aug 2024 14:33:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E4=B8=8D=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 屏蔽不必要告警 --- GPT_SoVITS/s2_train.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GPT_SoVITS/s2_train.py b/GPT_SoVITS/s2_train.py index c5dee8d..f5de615 100644 --- a/GPT_SoVITS/s2_train.py +++ b/GPT_SoVITS/s2_train.py @@ -1,5 +1,6 @@ +import warnings +warnings.filterwarnings("ignore") import utils, os - hps = utils.get_hparams(stage=2) os.environ["CUDA_VISIBLE_DEVICES"] = hps.train.gpu_numbers.replace("-", ",") import torch