Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 add-apt-repository -y ppa:apt-fast/stable | |
sudo add-apt-repository -y ppa:graphics-drivers/ppa | |
sudo apt-get update | |
sudo apt-get -y install apt-fast | |
# prompts | |
sudo apt-fast -y upgrade | |
sudo apt-fast install -y ubuntu-drivers-common libvorbis-dev libflac-dev libsndfile-dev cmake build-essential libgflags-dev libgoogle-glog-dev libgtest-dev google-mock zlib1g-dev libeigen3-dev libboost-all-dev libasound2-dev libogg-dev libtool libfftw3-dev libbz2-dev liblzma-dev libgoogle-glog0v5 gcc-6 gfortran-6 g++-6 doxygen graphviz libsox-fmt-all parallel exuberant-ctags vim-nox python-powerline python3-pip | |
sudo apt-fast install -y tigervnc-standalone-server firefox lsyncd mesa-common-dev ack |
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
def plot_loss_change(sched, sma=1, n_skip=20, y_lim=(-0.01,0.01)): | |
""" | |
Plots rate of change of the loss function. | |
Parameters: | |
sched - learning rate scheduler, an instance of LR_Finder class. | |
sma - number of batches for simple moving average to smooth out the curve. | |
n_skip - number of batches to skip on the left. | |
y_lim - limits for the y axis. | |
""" | |
derivatives = [0] * (sma + 1) |
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
echo" | |
##################################### | |
# Setup a Deep Learning Machine # | |
# [Ubuntu 16.04 LTS] # | |
##################################### | |
" | |
# Go to Home | |
cd ~ |
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
##################################### | |
# HADOOP SINGLE NODE SETUP | |
# | |
# Author: Aman Hussain | |
# Email: aman@amandavinci.me | |
# Date: 12/03/2018 | |
# | |
# Notes: | |
# do not run as executable script | |
# |
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
#!/bin/sh | |
## Latest JDK9 version is JDK9.0.1 released on 16th Jan, 2018. | |
BASE_URL_9=http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_ | |
declare -a PLATFORMS=("linux-x64_bin.tar.gz") | |
# declare -a PLATFORMS=("linux-x64_bin.rpm" "linux-x64_bin.tar.gz" "osx-x64_bin.dmg" "windows-x64_bin.exe" "solaris-sparcv9_bin.tar.gz" "doc-all.zip") | |
for platform in "${PLATFORMS[@]}" | |
do |