Skip to content

Commit

Permalink
还原验证集数量
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSCharlie committed Jun 9, 2023
1 parent cb454c9 commit a16c785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prepare/preprocess_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def process_file(file):
f"{path_wave}|{path_spec}|{path_pitch}|{path_whisper}|{path_spk}")

random.shuffle(all_items)
valids = all_items[:50]
valids = all_items[:10]
valids.sort()
trains = all_items[50:]
trains = all_items[10:]
# trains.sort()
fw = open("./files/valid.txt", "w", encoding="utf-8")
for strs in valids:
Expand Down

0 comments on commit a16c785

Please sign in to comment.