This file contains 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
import tensorflow as tf | |
# adapted from https://stackoverflow.com/a/40029298/2466336 | |
if __name__ == '__main__': | |
path_to_events_file = '/home/kashefy/models/ae/log_simple_stats/2017-07-18_12-22-45/events.out.tfevents.1500373527.hobbes' | |
tag = 'mlp_layer-1/loss_classification_1' | |
# with open(fpath, "r") as f: | |
# | |
# |
This file contains 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
# Installing Caffe dependencies without sudo privileges: | |
# The prefix serves as the installation directory for caffe dependencies | |
# that are not already installed on the system | |
# | |
# Set "inputs" according to host machine | |
export PREFIX_HOST=/mnt/scratch/$USER/caffe_deps | |
export PREFIX_CUDNN=$PREFIX_HOST/../build/cudnn-7.5 |
This file contains 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
sudo apt-get install gnome-devel | |
sudo apt-get install python3-dev | |
sudo apt-get install libcr-dev mpich mpich-doc | |
sudo apt-get install libncursesw5-dev ncurses-base ncurses-bin ncurses-term | |
sudo apt-get install gnome-devel python3-dev libcr-dev mpich mpich-doc libncursesw5-dev ncurses-base ncurses-bin ncurses-term | |
export PYTHON3PATH=`which python3` | |
export HOME_DIR=`pwd` |
This file contains 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
sudo apt-get install gnome-devel | |
sudo apt-get install python3-dev | |
sudo apt-get install libcr-dev mpich mpich-doc | |
sudo apt-get install libncursesw5-dev ncurses-base ncurses-bin ncurses-term | |
sudo apt-get install gnome-devel python3-dev libcr-dev mpich mpich-doc libncursesw5-dev ncurses-base ncurses-bin ncurses-term | |
export PYTHON3PATH=`which python3` | |
export HOME_DIR=`pwd` |
This file contains 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
''' | |
Created on Jul 13, 2015 | |
@author: kashefy | |
''' | |
import numpy as np | |
from scipy import signal | |
if __name__ == '__main__': | |
OlderNewer