OutOfRangeError: read less bytes than requested

run the
python scripts/visualize_dataset.py --classes=./data/new_names.names --dataset=./data/train.tfrecord
python scripts/visualize_dataset.py --classes=./data/new_names.names --dataset=./data/test.tfrecord

but got an error

thanks for your help

Go over the number of objects you want to train, you might have the wrong number