Closed valentinitnelav closed 2 years ago
Ok, figured this out. To assure reproducibility, I need to avoid running those lines of code separately. I have to run the entire block of code at once because we overwrite image_files & label_files and, of course, if I run the shuffling again, it runs on something shuffled already and each time gives different results.
I realized that at these lines, in the file
2_split_dataset.py
, I do not get full reproducibility. If I run this 2 times, I get 2 different results.I had a look here, Shuffle two list at once with same order, but didn't find an answer to actually fix the issue. All of them do not give full reproducibility.
I also tried this, but same problem:
Do you know how to fix this issue?