This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TensorBoard for visualising batch-level metrics | |
# Based on code from various people at | |
# https://github.com/keras-team/keras/issues/6692 | |
import tensorflow as tf | |
from keras.callbacks import TensorBoard | |
class TensorBoardBatchMonitor(TensorBoard): | |
def __init__(self, log_every=1, **kwargs): | |
super().__init__(**kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# singlebinresponse.py | |
# Plots the single-bin frequency response of direct FFT and PFB | |
# | |
# Created by Jayanth Chennamangalam | |
# (PFB coefficient generation based on code by Sean McHugh, UCSB) | |
import sys | |
import getopt |