This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Checks if a set of TFRecords appear to be valid. | |
Specifically, this checks whether the provided record sizes are consistent and | |
that the file does not end in the middle of a record. It does not verify the | |
CRCs. | |
""" | |
import struct | |
import tensorflow as tf | |
from tensorflow import app |