Skip to content

Tool for dividing your dataset (images and labels) randomly in three different folders (train, validation and test) and label files

License

Notifications You must be signed in to change notification settings

jpdominguez/CNN-dataset-random-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNN Dataset Random Generator

Description

This tool lets you divide your dataset (both images and labels) randomly in three different folders (train, validation and test) and label files. This way you will have everything set to train a Convolutional Neural Network (CNN) or other kind of neural network and test it.

The user can select the ratios used to train, validate and test the network and generate the corresponding folders with images and label files with randomly selected images based on these values.

(Still under tidy-up to improve the performance when searching for labels in the label file).

Table of contents

Getting started

The following step-by-step guide will show you how to download, install and start using DRG. DRG requires Microsoft .NET Framework 4.5 or greater to be executed. The .NET Framework 4.5 and later versions are not supported on Windows XP, but on Windows Vista, Windows 7 and later versions of Windows.

In addition to Microsoft .NET Framework 4.5 or greater, the DRG's Visual Studio project requires Microsoft Visual Studio to compile the code (DRG was programmed using Visual Studio Community 2017). This is only needed if you want to tweak the code. If you just want to use DRG as it is, please follow the steps below.

Installation

To use DRG, first you need to download the latest release. This can be done by clicking on the "releases" button on the home page.

After the file has been downloaded, decompress it. Place this folder wherever you prefer and double-click DRG.exe to run this tool. If you get an error when trying to execute DRG, please check that the folder from which it is being run contains each of the files that are inside the .zip file (no file has been deleted or moved to another folder) and that your have already installed Microsoft .NET Framework 4.5 or greater in your computer. If the problem persist, please send me an email explaining the situation.

Usage

Still under construction.

Contributing

New functionalities or improvements to the existing project are welcome. To contribute to this project please follow these guidelines:

  1. Search previous suggestions before making a new one, as yours may be a duplicate.
  2. Fork the project.
  3. Create a branch.
  4. Commit your changes to improve the project.
  5. Push this branch to your GitHub project.
  6. Open a Pull Request.
  7. Discuss, and optionally continue committing.
  8. Wait untill the project owner merges or closes the Pull Request.
If it is a new feature request (e.g., a new functionality), post an issue to discuss this new feature before you start coding. If the project owner approves it, assign the issue to yourself and then do the steps above.

Thank you for contributing in this project!

Credits

The author of the DRG's original idea is Juan P. Dominguez-Morales while working on a research project of the RTC Group.

License

This project is licensed under the GPL License - see the LICENSE.md file for details.

Copyright © 2017 Juan P. Dominguez-Morales
[email protected]

License: GPL v3

About

Tool for dividing your dataset (images and labels) randomly in three different folders (train, validation and test) and label files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages