Skip to content

Commit

Permalink
Fix output prefixes in split.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Scarfmonster committed Feb 4, 2024
1 parent 8bb3dc2 commit b1c74ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataset-utils/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def process_file(args, files):
for base_dir in args.folders:
audio_files = []
for root, _, files in walk(base_dir):
root_list = root.split(sep)
root_list = root[len(base_dir) :].split(sep)
if (
len(root_list) >= 2
and len(allow_filter) > 0
Expand Down

0 comments on commit b1c74ab

Please sign in to comment.