mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-08 16:00:01 +08:00
Update 1-get-text.py
Further support for CPU training
This commit is contained in:
parent
b7e1002280
commit
ee5230c745
@ -2,12 +2,14 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
if "_CUDA_VISIBLE_DEVICES" in os.environ:
|
||||||
|
os.environ["CUDA_VISIBLE_DEVICES"] = os.environ["_CUDA_VISIBLE_DEVICES"]
|
||||||
|
|
||||||
inp_text = os.environ.get("inp_text")
|
inp_text = os.environ.get("inp_text")
|
||||||
inp_wav_dir = os.environ.get("inp_wav_dir")
|
inp_wav_dir = os.environ.get("inp_wav_dir")
|
||||||
exp_name = os.environ.get("exp_name")
|
exp_name = os.environ.get("exp_name")
|
||||||
i_part = os.environ.get("i_part")
|
i_part = os.environ.get("i_part")
|
||||||
all_parts = os.environ.get("all_parts")
|
all_parts = os.environ.get("all_parts")
|
||||||
os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES")
|
|
||||||
opt_dir = os.environ.get("opt_dir")
|
opt_dir = os.environ.get("opt_dir")
|
||||||
bert_pretrained_dir = os.environ.get("bert_pretrained_dir")
|
bert_pretrained_dir = os.environ.get("bert_pretrained_dir")
|
||||||
is_half = eval(os.environ.get("is_half", "True"))
|
is_half = eval(os.environ.get("is_half", "True"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user