Skip to content

Instantly share code, notes, and snippets.

@kevinxhan
kevinxhan / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@kevinxhan
kevinxhan / bymovidius.py
Created December 11, 2017 15:37 — forked from wtnb75/bymovidius.py
cpu-caffe vs. movidius ncs
from mvnc import mvncapi as mvnc
import cv2
import numpy
import os
import time
import subprocess
import caffe
import click
import struct
@kevinxhan
kevinxhan / tensorflow_log_loader.py
Created June 6, 2019 14:35 — forked from tomrunia/tensorflow_log_loader.py
Reading out binary TensorFlow log file and plotting process using MatplotLib
import numpy as np
from tensorflow.python.summary.event_accumulator import EventAccumulator
import matplotlib as mpl
import matplotlib.pyplot as plt
def plot_tensorflow_log(path):
# Loading too much data is slow...
tf_size_guidance = {