zerahhah / split_train_val Goto Github PK
View Code? Open in Web Editor NEWFor Pytorch ImageFolder usage ,the code randomly splits datasets into train datasets and validation datasets with the specific ratio, and split datasets are stored in their subfolders separately.