Skip to content

A Python to split image data into train, validation and test sets for machine learning.

License

Notifications You must be signed in to change notification settings

shoukewei/image_split

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Descripstats

The 'image-data-split' package provides a convenient tool for splitting image data into separate training, validation, and testing sets. With this package, you can easily manage the distribution of your image dataset for machine learning tasks. The package offers a simple function, 'image_split', that takes input and output directories, along with desired split ratios and an optional seed for randomization. The package is designed to streamline the process of data preparation, making it easier to organize and manage image datasets for model training and evaluation.

Developed by Shouke Wei, Ph.D. from Deepsim Academy, Deepsim Intelligence Technology Inc. (c) 2023

Install the package

pip install image-data-split

import the package

from image_split import train_val_test_split

then use the train_val_test_split() directly. Or

import image_split as sp

then use sp.train_val_test_split()

Document

An example: https://github.com/shoukewei/image_split/blob/main/docs/example.ipynb

PyPI: https://pypi.org/project/image-data-split

About

A Python to split image data into train, validation and test sets for machine learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages