Skip to content

A sample brain4k pipeline. Train a classifier on image features extracted from a convolutional neural network

License

Notifications You must be signed in to change notification settings

shuggiefisher/kitten-or-bear-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PREDICT Pipeline

predict pipeline diagram

TRAIN Pipeline

train pipeline diagram

Pipeline performance metrics

Kitten vs bear classifier

This repo contains a brain4k pipeline for a kitten-or-bear classifier. It is intended to serve as an example of how to train a classifier on imagenet features. The features are the activity of the penultimate layer of a convolutional neural network trained on the imagenet database.

to execute the pipeline within a docker container:

sudo docker run -ti tleyden5iwx/caffe-cpu-master /bin/bash
pip install git+https://github.com/shuggiefisher/brain4k.git
git clone https://github.com/shuggiefisher/kitten-or-bear-classifier.git local-path-to-this-repo
brain4k local-path-to-this-repo

Requirements

  • brain4k
  • caffe, including python wrappers
  • scikit-learn
  • matplotlib

Installing caffe is quite involved, so you may find it easier to use a caffe docker image

Confusion Matrix Caption

Confusion matrix:

[[11 4] [12 10]]

About

A sample brain4k pipeline. Train a classifier on image features extracted from a convolutional neural network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published