Skip to content

Commit b07dedd

Browse files
authored
fix workflow (#284)
* Update extract_feature_print.py * Update unitest.yml
1 parent 137447b commit b07dedd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/unitest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
touch logs/mi-test/preprocess.log
3333
python trainset_preprocess_pipeline_print.py logs/mute/0_gt_wavs 48000 8 logs/mi-test True
3434
touch logs/mi-test/extract_f0_feature.log
35-
python extract_f0_print.py logs/mi-test $(nproc) pm
35+
python extract_f0_print.py logs/mi-test $(nproc) pm v1
3636
python extract_feature_print.py cpu 1 0 0 logs/mi-test

extract_feature_print.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
i_part = int(sys.argv[3])
66
if len(sys.argv) == 5:
77
exp_dir = sys.argv[4]
8+
version = sys.argv[5]
89
else:
910
i_gpu = sys.argv[4]
1011
exp_dir = sys.argv[5]
1112
os.environ["CUDA_VISIBLE_DEVICES"] = str(i_gpu)
12-
version = sys.argv[6]
13+
version = sys.argv[6]
1314
import torch
1415
import torch.nn.functional as F
1516
import soundfile as sf

0 commit comments

Comments
 (0)