vision-analytics / tfrecord-viewer

TFRecord Viewer for browsing contents of TFRecords with object detection/classification annotations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TFRecord Viewer

*** new feature -> random-sampling for large datasets.

Usage

python3 tfviewer.py train.record --port 5000 --max-images=100 --random-sampling



"How about checking your data before going deeper?"

Use TFRecord Viewer to browse contents of TFRecords with object detection/classification annotations.

The viewer runs a Flask server to provide a web gallery with annotation overlays. I.e. you can run it on your server machine, but browse on your local machine.

The web gallery displayed with Fotorama.io.

Examples

python3 tfviewer.py datasets/COCO/tfrecord/coco_train.record-00003-of-00100 --labels-to-highlight='car;truck;bus;motorcycle'

Detection example

python3 tfviewer.py datasets/imagenet/imagenet_fullres/tfrecord/train-00000-of-01024 --overlay classification

Classification example

About

TFRecord Viewer for browsing contents of TFRecords with object detection/classification annotations.

License:Other


Languages

Language:Python 94.0%Language:HTML 6.0%