Skip to content

Instantly share code, notes, and snippets.

View abhikmitra's full-sized avatar

Abhik Mitra abhikmitra

View GitHub Profile
@abhikmitra
abhikmitra / Step1.sh
Created December 24, 2016 10:48
Setting up an Azure Ubuntu VM for Deep Learning
wget https://raw.githubusercontent.com/fastai/courses/master/setup/install-gpu-azure.sh
bash install-gpu-azure.sh
@abhikmitra
abhikmitra / result.py
Created December 24, 2016 08:34
Error on running utils
#include <Python.h>
2 #include <iostream>
3 #include "theano_mod_helper.h"
4 #include "cudnn.h"
5 //////////////////////
6 //// Support Code
7 //////////////////////
8
9 #if PY_MAJOR_VERSION >= 3
10 #define PyInt_FromLong PyLong_FromLong
mainBatches = vgg.get_batches(path+'train', batch_size=batch_size)
val_batches = vgg.get_batches(path+'valid', batch_size = batch_size)
vgg.finetune(mainBatches)
vgg.fit(mainBatches, val_batches, nb_epoch=1)
@abhikmitra
abhikmitra / Binary Tree Traversal
Last active August 29, 2015 14:07
Data Structures using Javascript
var root = {
data:1,
right:{
data:3,
left:{
data:6
},
right:{
data:7
}