tensorflow / tensorflow/tensorboard
event files too large when TF graph contains constant data
@pindinagesh is already working on this.
Since Feb 16, 2022.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
TB 1.8.0
OS: any
Python version: any
Tensorboard event file abnormally large when the TF graph contains data defined with tf.constant.
For example for MNIST the event file will be almost 1GB if the MNIST dataset is loaded with tf.constant. The mnist dataset is 50MB uncompressed.
Storing this data in the event files is never useful. In the Tensorboard interface, only small constants are visible. It is not planned to make large constant arrays visible as it would not be a useful feature. Large constant arrays should be dramatically truncated when stored in Tensorboard event files, or not stored at all.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.