Random shuffling is actually not used in create_unified_datast.py

L = list(range(0, dl.nb_patches()))
if args.random:
    random.Random(42).shuffle(L)
n = args.nb_patches // 100 + 1
for i in range(args.nb_patches):
    if i % n == 0:
        print(f"{i//n} %")
    p = dl.getPatchDataInt16(i, comps, args.border_size)
    p.tofile(file)

In the above code, shuffled L is not used when fetching patch data.