Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Mangio621
2023-05-16 00:58:29 +10:00
3 changed files with 4 additions and 2 deletions

View File

@@ -32,5 +32,5 @@ jobs:
touch logs/mi-test/preprocess.log
python trainset_preprocess_pipeline_print.py logs/mute/0_gt_wavs 48000 8 logs/mi-test True
touch logs/mi-test/extract_f0_feature.log
python extract_f0_print.py logs/mi-test $(nproc) pm
python extract_f0_print.py logs/mi-test $(nproc) pm v1
python extract_feature_print.py cpu 1 0 0 logs/mi-test

View File

@@ -5,11 +5,12 @@ n_part = int(sys.argv[2])
i_part = int(sys.argv[3])
if len(sys.argv) == 5:
exp_dir = sys.argv[4]
version = sys.argv[5]
else:
i_gpu = sys.argv[4]
exp_dir = sys.argv[5]
os.environ["CUDA_VISIBLE_DEVICES"] = str(i_gpu)
version = sys.argv[6]
version = sys.argv[6]
import torch
import torch.nn.functional as F
import soundfile as sf

View File

@@ -43,3 +43,4 @@ audioread
uvicorn>=0.21.1
colorama>=0.4.5
pyworld>=0.3.2
httpx==0.23.0