
Undo and Remove Scrambled Background Images from a YOLO Dataset
Source:R/utils_yolo_dataset.R
yolo_dataset_scramble_undo.Rdyolo_dataset_scramble_undo() removes all scrambled background images and matching
empty label files (matching ^scramble_ or a custom prefix) generated by
yolo_dataset_scramble(), reverting the dataset back to its previous state.
It also automatically invalidates stale YOLO cache files (train.cache, val.cache, test.cache).