code: def __init__(self, dir, all_events=False, path_filter=None):
      self.dir = dir
      self.all_events = all_events
      self.path_filter = path_filter
  
imports: import glob
  import hashlib
  import logging
  import os
  from guild import tensorboard_util
label_desc: Use image node_id 1 to create a new EventReader object  with example: obj = EventReader(dir, all_events, path_filter)