Skip to content

Commit babd405

Browse files
1. add huggingface SVS; 2. add inference logic from raw inputs; 3. fix typo in readme. 4.fix ph infer
1 parent 60b950c commit babd405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inference/svs/base_svs_infer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def preprocess_phoneme_level_input(self, inp):
142142
ph_seq = inp['ph_seq']
143143
note_lst = inp['note_seq'].split()
144144
midi_dur_lst = inp['note_dur_seq'].split()
145-
is_slur = inp['is_slur_seq'].split()
145+
is_slur = [float(x) for x in inp['is_slur_seq'].split()]
146146
print(len(note_lst), len(ph_seq.split()), len(midi_dur_lst))
147147
if len(note_lst) == len(ph_seq.split()) == len(midi_dur_lst):
148148
print('Pass word-notes check.')

0 commit comments

Comments
 (0)