Awesome
Unsupervised Representation Learning by Sorting Sequence (ICCV 2017)
Hsin-Ying Lee, Jia-Bin Huang, Maneesh Kumar Singh, and Ming-Hsuan Yang
IEEE International Conference on Computer Vision, ICCV 2017
Table of Contents
Introduction
The Order Prediction Network (OPN) is a model that performs representation learning using unlabeled videos. Our method leverage temporal coherence as a supervisory signal by formulating representation learning as a sequence sorting task. The experimental results show that our method compares favorably against state-of-the-art methods on action recognition, image classification and object detection tasks. For more details and evaluation results, please check out our project webpage and paper.
Citation
If you find the code and data useful in your research, please cite:
@inproceeding{OPN,
author = {Lee, Hsin-Ying and Huang, Jia-Bin and Singh, Maneesh Kumar and Yang, Ming-Hsuan},
title = {Unsupervised Representation Learning by Sorting Sequence},
booktitle = {IEEE International Conference on Computer Vision},
year = {2017}
}
Requirements
Requirements for Caffe
and pycaffe
(see: Caffe installation instructions)
Note that the Caffe fork needs to support Batch Normalization to run our code.
Models and Training Data
Training Data
UCF / HMDB / UCF+HMDB+ACT
Models
Model Unsupervised trained on UCF
Model Unsupervised trained on UCF+HMDB+ACT (for Pascal VOC 2007)
Training
There are a few lines need to be customized in UCF_datalayers.py, including the training data location in L22-L27 and L84-87. The default setting includes all processing like channel splitting and spatial jittering, feel free to comment them out.
$ $CAFFE_ROOT/build/tool/caffe train -solver prototxt/solver_opn.prototxt
Testing
Visualization
$ python visualize.py $MODEL $OUTPUT_FIG
Action Recognition The testing on the UCF-101 and HMDB-51 datasets follows the testing sceme of the original two-stream ConvNets, where we sample 25 RGB frames from each video. From each of the frames we then obtain 10 inputs by cropping and flipping four corners and the center of the frame.
Pascal VOC 2007 Classification The training and testing codes are from https://github.com/philkr/voc-classification.
Pascal VOC 2007 Detection The training and testing codes are from https://github.com/rbgirshick/fast-rcnn