Giter Site home page Giter Site logo

xnet's Introduction

XNet: simple CuDNN wrapper

XNet is still under development, some parts may not be completed yet.

About

This project is part of my undergraduate research project "Object classification with Convolutional Neural Network". It is inspired by Mr. Hinton's paper on 2012 which is included in the repository. Unlike Caffe, Theano or Torch, XNet is just a basic wrapper with few customizations and not very stable, but it is simple and easily understandable. You may want to use stable framework mentionned above for any production purposes.

Traditionnal training example like MNIST and CIFAR will be added in the future.

All suggestions are welcomed and hope that this piece of code is useful to you.

Included features

  • Layers
    • Convolutional layer
    • Max-pooling layer
    • Fully connected layer (with ReLU or Softmax)
    • Activation layer
    • Input / Output layer
  • Neural Network
    • Adjustable layer dimension
    • Adjustable learning rate for each layer
    • Decreasing learning rate
    • Momentum and weight decay
  • Examples
    • MNIST
      • Test error rate: 0.5% - 1%
      • Real-time recognition on camera with OpenCV
    • CIFAR-10
      • Test error rate: around 25% (with data augmentation)

How to use

To run this code, you will need:

  1. NVIDIA graphic card
  2. Cuda Runtime 7.0
  3. CuDNN library 3
  4. C++ 11 compiler
  5. OpenCV 3.0 (to use your camera)

xnet's People

Contributors

lyx-x avatar

Watchers

James Cloos 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.