Skip to content

Instantly share code, notes, and snippets.

View aowal's full-sized avatar

Md Abdul Aowal aowal

  • UMass Amherst
  • Amherst, Massachusetts
View GitHub Profile
@aowal
aowal / tensorboard_logging.py
Created November 26, 2017 22:46 — forked from gyglim/tensorboard_logging.py
Logging to tensorboard with manually generated summaries (not relying on summary ops)
"""Simple example on how to log scalars and images to tensorboard without tensor ops.
License: Copyleft
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np
@aowal
aowal / download.py
Created November 20, 2017 18:56 — forked from JunhongXu/download.py
A Python script downloading all ICLR and NIPS papers from openreview.net
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
import requests
import os
def download_all_papers(base_url, save_dir, driver_path):
driver = webdriver.Chrome(driver_path)
@aowal
aowal / gist:1eadc73db93492fd1109145d158e64cd
Created July 3, 2017 17:39
Neural network for small datasets with derivative info supplied.
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
#Wether or not to include derivative information
derinfo=False
@aowal
aowal / caffe_install_linux
Last active February 4, 2018 06:37
Caffe Installation in Linux
First download all dependencies:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
sudo apt-get install libatlas-base-dev
git clone https://github.com/BVLC/caffe.git
cd caffe
@aowal
aowal / gist:7896d9c3a36078391dac1c64f2b34ee1
Created January 26, 2017 05:56
Install Matlab in linux
https://www.quora.com/How-do-I-download-and-install-MATLAB-on-Ubuntu-14-04