diff --git a/infer/modules/train/extract_f0_print.py b/infer/modules/train/extract_f0_print.py index d6f8714..87b6b14 100644 --- a/infer/modules/train/extract_f0_print.py +++ b/infer/modules/train/extract_f0_print.py @@ -98,8 +98,9 @@ if __name__ == "__main__": # f = open("%s/log_extract_f0.log"%exp_dir, "w") from configs import Config + Config.use_insecure_load() - + printt(" ".join(sys.argv)) featureInput = FeatureInput(is_half, device) paths = [] diff --git a/infer/modules/train/extract_feature_print.py b/infer/modules/train/extract_feature_print.py index 1106f4c..abfbef8 100644 --- a/infer/modules/train/extract_feature_print.py +++ b/infer/modules/train/extract_feature_print.py @@ -30,6 +30,7 @@ import torch import torch.nn.functional as F from configs import Config + Config.use_insecure_load() if "privateuseone" not in device: diff --git a/infer/modules/train/preprocess.py b/infer/modules/train/preprocess.py index e7b5368..e115665 100644 --- a/infer/modules/train/preprocess.py +++ b/infer/modules/train/preprocess.py @@ -143,5 +143,6 @@ def preprocess_trainset(inp_root, sr, n_p, exp_dir, per): if __name__ == "__main__": from configs import Config + Config.use_insecure_load() preprocess_trainset(inp_root, sr, n_p, exp_dir, per)