Skip to content

Code snippets to illustrate our BMVC'16 paper "PatchIt: Self-Supervised Network Weight Initialization for Fine-grained Recognition"

Notifications You must be signed in to change notification settings

psudowe/patchit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatchIt Scripts

This is a subset of the scripts used in the experiments for our BMVC'16 paper. The purpose of this code is mainly to illustrate the PatchTask procedure and get others started with it.

The experiments in the paper are based on the Parse27k dataset. The PatchTask method allows researchers and developers to pretrain a network in a semi-supervised way. We also provide the unlabeled person detections from the full training video sequences on the Parse27k dataset website.

If you use this code, please cite our paper:

@InProceedings{Sudowe16BMVC,
    author = {Patrick Sudowe and Bastian Leibe},
	title  = {{PatchIt: Self-Supervised Network Weight Initialization for Fine-grained Recognition}},
	booktitle = BMVC,
	year = {2016}
}

Dependencies

We use Python 2.7 on a 64-bit Linux -- but the tools should run on other platforms as well.

The scripts have some dependencies. If you are using Python regularly for scientific computing, all of this is likely installed already. Otherwise they can all be easily obtained through pip. These tools depend (directly or indirectly) on:

futures
progressbar2
h5py
Pillow
scipy
scikit-image
matplotlib
theano
lasagne

Usage

The main purpose of these scripts is to further illustrate the description of the PatchTask method. The code provided here does not fully reproduce all experiments.

  • patch_training.py: the script to run a PatchTask training
  • nets.py: specification of the network architectures to be used (add your own net here)
  • tasks.py: read this for the details of the PatchTask

Bugs & Problems & Updates

The tools here were taken from a larger set of tools as we prepared the dataset for publication. In case we notice problems or bugs introduced in this process, we will fix these here.

If you are working with the Parse-27k dataset, we encourage you to follow this repository. In case there are any bug-fixes or changes to the evaluation pipeline, GitHub will let you know.

About

Code snippets to illustrate our BMVC'16 paper "PatchIt: Self-Supervised Network Weight Initialization for Fine-grained Recognition"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages