empty16 / RILBCNN

Rotation Invariant Local Binary Convolution Neural Networks, ICCV Workshop, 2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rotation Invariant Local Binary Convolution Neural Networks

By Xin Zhang, Li Liu, Yuxiang Xie, Jie Chen, Lingda Wu, Matti Pietikäinen

Abstract

Although CNNs are unprecedentedly powerful to learn effective representations, they are still parameter expensive and limited by the lack of ability to handle with the orientation transformation of the input data. To alleviate this problem, we propose a deep architecture named Rotation Invariant Local Binary Convolution Neural Networks(RI-LBCNNs). RI-LBCNN is a deep convolution neural network consisting of Local Binary orientation Module(LBoM). A LBoM is composed of two parts, i.e., three layers steerable module (two layers for the first and one for the second part), which is a combination of Local Binary Convolution (LBConv) and Active Rotating Filters (ARFs). Through replacing the basic convolution layer in DCNNs with LBoM, RI-LBCNNs can be easy implemented and LBoM can be naturally inserted to popular models without any extra modification to the optimisation process. Meanwhile, The proposed RI-LBCNNs thus can be easily trained end to end. Extensive experiments show that the updating with the proposed LBoMs leads to significant reduction of learnable parameters and the reasonable performance on three benchmarks.

RI-LBCNN appeared in 2017 ICCV Workshop.

Torch Implementation

The torch branch contains:

  • the official torch implementation of RILBCNN.
  • the MNIST-Variants demo.

Please follow the instruction below to install it and run the experiment demo.

Prerequisites

  • Linux (tested on ubuntu 14.04LTS)
  • NVIDIA GPU + CUDA CuDNN (CPU mode and CUDA without CuDNN mode are also available but significantly slower)
  • Torch7

Getting started

You can do it manually in case something goes wrong:

  1. install the dependencies (required by the demo code):

  2. clone the master branch:

    # git version must be greater than 1.9.10
    git clone https://github.com/empty16/RILBCNN.git
    cd RILBCNN
    export DIR=$(pwd)
  3. install RILBCNN:

    cd $DIR/install
    # install the CPU/GPU/CuDNN version RILBCNN.
    bash install.sh
  4. unzip the MNIST dataset:

    cd $DIR/demo/datasets
    unzip MNIST
  5. run the MNIST-Variants demo:

    cd $DIR/demo
    # you can modify the script to test different hyper-parameters
    bash ./scripts/Train_MNIST.sh

Citation

If you use the code in your research, please cite:

@InProceedings{Zhang_2017_ICCV_Workshops,
author = {Zhang, Xin and Liu, Li and Xie, Yuxiang and Chen, Jie and Wu, Lingda and Pietikainen, Matti},
title = {Rotation Invariant Local Binary Convolution Neural Networks},
booktitle = {The IEEE International Conference on Computer Vision (ICCV) Workshop},
month = {Oct},
year = {2017}
}

The installation of RILBCNN is the same with ORN, please refer to: installation for more information on installation.

About

Rotation Invariant Local Binary Convolution Neural Networks, ICCV Workshop, 2017

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Lua 61.5%Language:Cuda 18.3%Language:C 16.1%Language:CMake 3.2%Language:Shell 0.9%