Skip to content

When you have image data and corresponding xml files, this script will help in splitting the data in two folders - train and test -

Notifications You must be signed in to change notification settings

malgo1311/Object-Detection-Train-Test-Split

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Object-Detection-Train-Test-Split

When you have image data ('.jpg' format) and corresponding xml files in a single folder, this script will help in splitting the data in two folders - train and test.

The image and corresponding xml file should have same names.

Usage:

python test_train_split.py
--datadir='images/all/'
--split=0.1
--train_output='images/train/'
--test_output='images/test/'
--image_ext='jpeg'

About

When you have image data and corresponding xml files, this script will help in splitting the data in two folders - train and test -

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages