tensorflow / tensorflow/tensorboard
Lazy load with SummaryWriter
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
To load tensorboard log file in python I use the following code:
from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
event_acc = EventAccumulator("my_log")
event_acc.Reload()
The problem is the following: if I want to load just a few scalars but the log file is big (e.g. it contains images), I have to load everything,, even what I don't need.
How can I load the tensorboard log file in lazy mode so that I can speed up the loading process?
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.
Research direction
Start with tensorboard.backend.event_processing.event_accumulator.EventAccumulator and its Reload() entry point. Investigate how loading currently handles a log containing images and scalars, then define and verify behavior for loading only selected scalars without processing unnecessary data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100