Skip to content

Instantly share code, notes, and snippets.

@bdutta19
bdutta19 / gist:77d94c1236922a00755a578c4b1df489
Last active March 27, 2018 15:25
proto-net-omniglot.py
from __future__ import print_function
from PIL import Image
import numpy as np
import tensorflow as tf
import os
import glob
#import matplotlib.pyplot as plt
def conv_block(inputs, out_channels, name='conv'):
@bdutta19
bdutta19 / waya-dl-setup.sh
Created October 30, 2017 16:54 — 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
@bdutta19
bdutta19 / Install NVIDIA Driver and CUDA.md
Created March 29, 2017 15:13 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora