When I generate statistics from a .tfrecord file with generate_statistics_from_tfrecord, its histograms contain weird float values as the sample_counts of the buckets.
For example, in one bucket which is supposed to contain 10 samples, sample_count: 9.94000000834465 is used instead. How can I set the exact integer sample_count for each bucket?
Here's a Colab to reproduce.
When I generate statistics from a
.tfrecordfile withgenerate_statistics_from_tfrecord, its histograms contain weird float values as thesample_counts of the buckets.For example, in one bucket which is supposed to contain 10 samples,
sample_count: 9.94000000834465is used instead. How can I set the exact integersample_countfor each bucket?Here's a Colab to reproduce.