This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://raw.githubusercontent.com/fastai/courses/master/setup/install-gpu-azure.sh | |
bash install-gpu-azure.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var root = { | |
data:1, | |
right:{ | |
data:3, | |
left:{ | |
data:6 | |
}, | |
right:{ | |
data:7 | |
} |