Skip to content

zamblauskas/oidv4-toolkit-tfrecord-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

EscVM/OIDv4_ToolKit downloads images of classes of interest from Open Images Dataset instead of downloading the full set (many many GBs of data).
This script generates TFRecord to be used for training a Tensorflow object detection model.

Usage:

python generate-tfrecord.py \
--classes_file=./OIDv4_ToolKit/classes.txt \
--class_descriptions_file=./OIDv4_ToolKit/OID/csv_folder/class-descriptions-boxable.csv \
--annotations_file=./OIDv4_ToolKit/OID/csv_folder/train-annotations-bbox.csv \
--images_dir=./OIDv4_ToolKit/OID/Dataset/train \
--output_file=./train.tfrecord

About

Generate TFRecord for images downloaded using EscVM/OIDv4_ToolKit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages