Skip to content

Commit b9a4965

Browse files
committed
Make tfrecords order consistent
1 parent b9b5b5d commit b9a4965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _get_files(split: str):
2424

2525
for path in (snellius_path, local_path):
2626
if path.exists():
27-
return list(path.glob("*.tfrec"))
27+
return sorted(path.glob("*.tfrec"))
2828

2929
raise Exception("No train TFRecords found")
3030

0 commit comments

Comments
 (0)