Loading
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
echo "Will install all necessary dependencies for the workshop" | |
echo "Begin by upgrading shell and subsystem" | |
sudo apt-get update | |
sudo apt-get upgrade | |
echo "Installing gcc" | |
sudo apt-get install gcc make build-essential gfortran |
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 "Will install all necessary dependencies for the workshop" | |
echo "Begin by upgrading shell and subsystem" | |
sudo apt-get update | |
sudo apt-get upgrade | |
echo "Installing gcc" | |
sudo apt-get install gcc make build-essential gfortran |
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
# This script generates mkdocs friendly Markdown documentation from a python package. | |
# It is based on the the following blog post by Christian Medina | |
# https://medium.com/python-pandemonium/python-introspection-with-the-inspect-module-2c85d5aa5a48#.twcmlyack | |
import pydoc | |
import os, sys | |
module_header = "# Package {} Documentation\n" | |
class_header = "## Class {}" | |
function_header = "### {}" |
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 pandas as pd | |
import numpy as np | |
import cv2 | |
import os | |
import h5py | |
from tqdm import tqdm | |
from keras.preprocessing import image | |
from keras.applications.inception_v3 import InceptionV3, preprocess_input | |
from keras.models import Model, load_model, Sequential | |
from keras.layers import Input, LSTM, Dense, Dropout |
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 pandas as pd | |
import numpy as np | |
import cv2 | |
import os | |
import h5py | |
from tqdm import tqdm | |
from keras.preprocessing import image | |
from keras.applications.inception_v3 import InceptionV3, preprocess_input | |
from keras.models import Model, load_model, Sequential | |
from keras.layers import Input, LSTM, Dense, Dropout |
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 pandas as pd | |
import numpy as np | |
import cv2 | |
import os | |
import h5py | |
from tqdm import tqdm | |
from keras.preprocessing import image | |
from keras.applications.inception_v3 import InceptionV3, preprocess_input | |
from keras.models import Model, load_model, Sequential | |
from keras.layers import Input, LSTM, Dense, Dropout |
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 sigmoid(x): | |
x = 1/(1+np.exp(-x)) | |
return x | |
def sigmoid_grad(x): | |
return (x)*(1-x) | |
def relu(x): | |
return np.maximum(0,x) |
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
ZWg5ZWQxZGJqbzZtYjdnZWZ0MjhldWVmZ2M6ZDU4MDE2MmYtZmI4MS00N2QxLThhNzMtMDYyOWNiNzA4OWIz |
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 curl -o /usr/local/bin/imgcat -O https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat && sudo chmod +x /usr/local/bin/imgcat | |
# If you have a better way to fix the permissions, comment below! |
OlderNewer