Skip to content

Commit

Permalink
fix posixpath error
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed May 10, 2024
1 parent 58ec57a commit 6bcd4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/vqgan/create_train_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def main(root, val_ratio, val_count, filelist, min_duration, max_duration):
files = list_files(root, AUDIO_EXTENSIONS, recursive=True, sort=True)

if min_duration is None and max_duration is None:
filtered_files = files
filtered_files = list(map(str, files))
else:
filtered_files = []
for file in tqdm(files):
Expand Down

0 comments on commit 6bcd4ef

Please sign in to comment.