Skip to content

dongheehand/tf-dataset-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example code for using tensorflow dataset API

Tensorflow dataset API enables you to build complex input pipelines from simple, reusable pieces.

The example code is for loading image files

without TFRecords file

If all of your input image files fit in memory,

python data_loader.py --in_memory True

If all of your input image files do not fit in memory,

python data_loader.py --in_memory False

using TFRecords file

First of all, you should generate TFRecord files

python make_tf_records.py

You can process TFRecord files!

python data_loader.py --tf_records True --data_direc ./tf_records

Comments

If you have any questions or comments on my codes, please email to me. [email protected]

Releases

No releases published

Packages

No packages published

Languages