title: How to filter scalars in a Tensorboard event file and access them programmatically?
body: <p>I have a big tensorboard event file that I want to access programmatically. I used the code below to do this but I have so many scalars in my event file that it's very slow. Is there a way to  accumulate only a few scalars that I'm interested in and not the complete file ?</p>
  <pre><code>from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
  event_acc = EventAccumulator('/path/to/summary/folder')
  event_acc.Reload()
  # Show all tags in the log file
  print(event_acc.Tags())
  
  # E. g. get wall clock, number of steps and value for a scalar 'Accuracy'
  w_times, step_nums, vals = zip(*event_acc.Scalars('Accuracy'))
  </code></pre>