
Undo Copy-Paste Augmented Images and Labels in a YOLO Dataset
Source:R/utils_yolo_dataset.R
yolo_dataset_copypaste_undo.Rdyolo_dataset_copypaste_undo() (and legacy alias yolo_dataset_copypaste_clean()) removes all
synthetic copy-paste augmented image and label files (matching pattern _copypaste\\d+)
from the dataset, reverting it to its pristine state.
Usage
yolo_dataset_copypaste_undo(data, verbose = TRUE)
yolo_dataset_paste_undo(data, verbose = TRUE)
yolo_dataset_copypaste_clean(data, verbose = TRUE)
yolo_dataset_clean_copypaste(data, verbose = TRUE)