Giter VIP home page Giter VIP logo

dcnn-computervision's Introduction

Doubly Convolutional Neural Network

Project by

Aryan Karn - 20185106 MNNIT-Allahabad ECE

Original Paper

Doubly Convolutional Neural Networks (NIPS 2016) by Shuangfei Zhai, Yu Cheng, Weining Lu and Zhongfei (Mark) Zhang

Repository Content

  • Final Project contains main DCNN code written in python
  • Forword Pass contains Matlab code of forword pass for understanding and proof of concept
  • Correlation contains python code to extract weights from caffee model, matlab code to find averaged max transalation correlation of a layer, ploted results
  • Presentation Raw files, images, graphs for Presentation

Pre-requisites

Code is written in python and would require following libraries:

  • numpy
  • theano (tensor)
  • lasagne

Our Code is tested on Windows10 intel(i7)64 and MaC without CUDA but should run on any OS satisfying above pre-requisites.

Setting Various Parameters

Default Parameters:

num_epochs = 100
learning_rate = 1e-2 
metafilter_shape = [(2, 1, 6, 6), (4, 2, 6, 6)]
image_shape = (1, 28, 28)
kernel_size = 5
kernel_pool_size = 2
learning_decay = 1e-5
dropout_rate = 0.5
batch_size = 200

These parameters can be found and changed just below main function declaration.

Running the code

You can run the code using following command inside final project.

sudo python main_final.py

Note: sudo access is required is to write results in a file

Architecture

DCNN and CNN Architecture

Results

Test Error vs Epoch

Links

dcnn-computervision's People

Contributors

aryan05 avatar

Stargazers

 avatar  avatar

Watchers

 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.