Skip to content

Commit

Permalink
preprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMax2016 committed Aug 5, 2023
1 parent c4ec2ac commit 2e31053
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 @@ -6,7 +6,7 @@ def print_error(info):
print(f"\033[31m File isn't existed: {info}\033[0m")


IndexByDispersion = True
IndexBySinger = False
if __name__ == "__main__":
os.makedirs("./files/", exist_ok=True)

Expand All @@ -20,7 +20,7 @@ def print_error(info):
if file.endswith(".wav"):
file = file[:-4]

if (IndexByDispersion):
if (IndexBySinger == False):
path_spk = f"./data_svc/speaker/{spks}/{file}.spk.npy"
else:
path_spk = f"./data_svc/singer/{spks}.spk.npy"
Expand Down

0 comments on commit 2e31053

Please sign in to comment.