Skip to content

Instantly share code, notes, and snippets.

View varun19299's full-sized avatar

Varun Sundar varun19299

View GitHub Profile
@varun19299
varun19299 / ANN.py
Created August 22, 2018 10:08
Forward_prop
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)
@varun19299
varun19299 / activity-recognition.py
Created August 22, 2018 06:18
Activity Recognition
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
@varun19299
varun19299 / activity-recognition.py
Created August 22, 2018 06:17
Activity Recognition
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
@varun19299
varun19299 / activity-recognition.py
Created August 22, 2018 06:17
Activity Recognition
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 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 = "### {}"
@varun19299
varun19299 / 1_Setup_env.sh
Created December 12, 2017 07:20
Environment install Under WLS
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
@varun19299
varun19299 / 1_Setup_env.sh
Created December 12, 2017 07:20
Environment install Under WLS
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
@varun19299
varun19299 / Corner_blog.ipynb
Created July 2, 2017 08:04
Corner detection
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.