Closed dli7319 closed 5 months ago
In scripts/extractimages.py, we use os.listdir which is not guaranteed to be in sorted order.
scripts/extractimages.py
os.listdir
I think this can be fixed by replacing: for folder_name in os.listdir(dir1): with for folder_name in sorted(os.listdir(dir1)):
for folder_name in os.listdir(dir1):
for folder_name in sorted(os.listdir(dir1)):
In
scripts/extractimages.py
, we useos.listdir
which is not guaranteed to be in sorted order.I think this can be fixed by replacing:
for folder_name in os.listdir(dir1):
withfor folder_name in sorted(os.listdir(dir1)):