Code Monkey home page Code Monkey logo

rilbcnn's Introduction

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.

rilbcnn's People

Contributors

empty16 avatar

Watchers

James Cloos avatar 刘国友 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.