From c8b6be0a5343f13173f49cde4615302f382c03ab Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Mon, 16 Oct 2023 23:45:00 +0800 Subject: [PATCH] Update train.py --- infer/modules/train/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/modules/train/train.py b/infer/modules/train/train.py index b81a0d2..ab6ba2d 100644 --- a/infer/modules/train/train.py +++ b/infer/modules/train/train.py @@ -99,7 +99,7 @@ def main(): n_gpus = 1 if n_gpus < 1: # patch to unblock people without gpus. there is probably a better way. - logger.warning("NO GPU DETECTED: falling back to CPU - this may take a while") + print("NO GPU DETECTED: falling back to CPU - this may take a while") n_gpus = 1 os.environ["MASTER_ADDR"] = "localhost" os.environ["MASTER_PORT"] = str(randint(20000, 55555))