Skip to content

Instantly share code, notes, and snippets.

View marekrei's full-sized avatar

Marek Rei marekrei

View GitHub Profile
@marekrei
marekrei / caffe_feature_extractor.py
Created June 22, 2015 00:12
Caffe feature extractor
import numpy as np
import os, sys, getopt
# Main path to your caffe installation
caffe_root = '/path/to/your/caffe/'
# Model prototxt file
model_prototxt = caffe_root + 'models/bvlc_googlenet/deploy.prototxt'
# Model caffemodel file