Skip to content

Instantly share code, notes, and snippets.

View AmeyaWagh's full-sized avatar
:octocat:
Focusing

Ameya Wagh AmeyaWagh

:octocat:
Focusing
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AmeyaWagh
AmeyaWagh / get-ieee.txt
Created April 19, 2019 00:06 — forked from paulaksm/get-ieee.txt
Download IEEE papers from command line
# If under a valid institutional IP address, the followng command will download an IEEE hosted paper of a specific <ID-NUMBER>
and saved it as paper.pdf
wget "http://ieeexplore.ieee.org/stampPDF/getPDF.jsp?tp=&isnumber=&arnumber=<ID-NUMBER>" -O paper.pdf
@AmeyaWagh
AmeyaWagh / waya-dl-setup.sh
Created February 5, 2019 12:35 — forked from mjdietzx/waya-dl-setup.sh
Install CUDA Toolkit v8.0 and cuDNN v6.0 on Ubuntu 16.04
#!/bin/bash
# install CUDA Toolkit v8.0
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb (network))
CUDA_REPO_PKG="cuda-repo-ubuntu1604_8.0.61-1_amd64.deb"
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
sudo dpkg -i ${CUDA_REPO_PKG}
sudo apt-get update
sudo apt-get -y install cuda
@AmeyaWagh
AmeyaWagh / max_net.py
Created August 1, 2018 16:00
A network to fit step functions like max(x,y)
from __future__ import print_function
import torch
import torch.nn as nn
import random
import numpy as np
from torch import optim
import time
import torch.nn.functional as F