Skip to content

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

License

Notifications You must be signed in to change notification settings

walterwangimagr/tfrecord-viewer

 
 

Repository files navigation

TFRecord Viewer

"How about checking your data before going deeper?"

Use TFRecord Viewer to browse contents of TFRecords with object detection/classification/segmentation 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/tfrecord/train-00000-of-01024 --overlay classification

Classification example

python3 tfviewer.py tfrecord_samples/semantic_cityscapes_train-00000-of-00010.tfrecord --overlay=segmentation --segmap-colormap-file=./cityscapes_colormap.txt Segmentation example

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.6%
  • HTML 4.4%