Skip to content

Instantly share code, notes, and snippets.

@hysts
hysts / extract_images.py
Created November 11, 2018 11:31
Extract images from Tensorboard log
#!/usr/bin/env python
import argparse
import pathlib
import numpy as np
import cv2
from tensorboard.backend.event_processing import event_accumulator
def main():
@hysts
hysts / extract_scalars.py
Last active November 6, 2020 13:51
Extract scalars from Tensorboard log
#!/usr/bin/env python
import argparse
import json
import pathlib
from tensorboard.backend.event_processing import event_accumulator
def main():
parser = argparse.ArgumentParser()