Merge b1b9e6e68ed8e4432ae269c5b43970327b7764fd into 48b1a0169a28582a8984402f82cf438d3bfa6aca

This commit is contained in:
solely 2026-08-25 00:22:13 -07:00 committed by GitHub
commit 41b73a479d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -178,6 +178,9 @@ class Text2SemanticDataset(Dataset):
min_num = 100 # 20直接不补#30补了也不存ckpt
leng = len(self.semantic_phoneme)
print("leng: ", leng)
if leng == 0:
leng = min_num
if leng < min_num:
tmp1 = self.semantic_phoneme
tmp2 = self.item_names