Skip to content

Instantly share code, notes, and snippets.

@agostbiro
Created December 9, 2018 09:48
Show Gist options
  • Save agostbiro/3fd8f66c4b266a08a9184c969b474584 to your computer and use it in GitHub Desktop.
Save agostbiro/3fd8f66c4b266a08a9184c969b474584 to your computer and use it in GitHub Desktop.
RawEventFileLoader profiling
import argparse
from tensorboard.backend.event_processing.event_file_loader import RawEventFileLoader
parser = argparse.ArgumentParser()
parser.add_argument('event_file')
args = parser.parse_args()
loader = RawEventFileLoader(args.event_file)
for record in loader.Load():
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment