mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 09:15:43 +03:00
Search paths in alphabetical order when creating the manifest file for wav2vec
This commit is contained in:
parent
da8fb63088
commit
a6b12d64e4
@ -66,7 +66,7 @@ def main(args):
|
||||
if valid_f is not None:
|
||||
print(dir_path, file=valid_f)
|
||||
|
||||
for fname in glob.iglob(search_path, recursive=True):
|
||||
for fname in sorted(glob.iglob(search_path, recursive=True)):
|
||||
file_path = os.path.realpath(fname)
|
||||
|
||||
if args.path_must_contain and args.path_must_contain not in file_path:
|
||||
|
Loading…
Reference in New Issue
Block a user