GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tinenbruno/image-tfrecord-builder: A python tfrecord builder tool focused on images

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
image-tfrecord-builder.py
image-tfrecord-builder.py
 
 
requirements.txt
requirements.txt
 
 
settings.py
settings.py
 
 

Repository files navigation

Image TFRecord Builder

A python tfrecord builder tool focused on images

Usage

Dataset Setup

This tool expects your image dataset to be structured in the following way:

> base_dir
  > classname 1
    > image 1
    > image 2
    > ...
  > classname 2
    > image 1
    > image 2
    > ...

Settings

You will also need to adjust the settings.py.

Setting Description Example
IMAGES_INPUT_FOLDER Absolute path for your image dataset folder /home/user/dataset
OUTPUT_FILENAME Absolute base filename for output (can be used with a remote setting as well) /home/user/output
NUMBER_OF_SHARDS Number of splits for both training and test tfrecord files 2
TRAINING_EXAMPLES_SPLIT Percentage of examples that will be used as training 0.8
SEED Seed to allow example shuffling with repeatability 123

Requirements

Using pip: pip install -r requirements.txt

Running

To run simply use python image-tfrecord-builder.py

About

A python tfrecord builder tool focused on images

Topics

datasetdeep-learningimagesmachine-learningtensorflowtfrecord

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.