GithubHelp home page GithubHelp logo

isabella232 / chainer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intel/chainer

0.0 0.0 0.0 35.44 MB

Intel® Optimization for Chainer*

Home Page: http://chainer.org

License: MIT License

PowerShell 0.21% Batchfile 0.10% Python 99.66% Dockerfile 0.04%

chainer's Introduction

Intel® Optimization for Chainer*

GitHub license travis Read the Docs

Chainer* is a Python*-based deep learning framework aiming at flexibility and intuition. It provides automatic differentiation APIs based on the define-by-run approach (a.k.a. dynamic computational graphs) as well as object-oriented high-level APIs to build and train neural networks. It supports various network architectures including feed-forward nets, convnets, recurrent nets and recursive nets. It also supports per-batch architectures. Forward computation can include any control flow statements of Python without lacking the ability of backpropagation. It makes code intuitive and easy to debug. Intel® optimization for Chainer, is currently integrated with the latest release of Intel® Math Kernel Library for Deep Neural Networks (Intel® MKL-DNN) 2017 optimized for Intel® Advanced Vector Extensions 2 (Intel® AVX) and Intel® Advanced Vector Extensions 512 (Intel®AVX-512) instructions which are supported in Intel® Xeon® and Intel® Xeon Phi™ processors.

Recommended Environments

We recommend these Linux distributions.

  • Ubuntu 16.04 LTS 64bit
  • CentOS 7 64bit

The following versions of Python can be used:

  • 2.7.10+, 3.5.2+, and 3.6.0+

Above recommended environments are tested. We cannot guarantee that Intel® optimization for Chainer works on other environments including Windows* and macOS*, even if Intel optimization for Chainer looks to be running correctly.

Install Chainer from source

You can use setup.py to install Chainer from the tarball:

$ python setup.py install

ideep4py has been split from Chainer, so you also need to install ideep4py:

$ pip install ideep4y

Use pip to uninstall chainer and ideep4py:

$ pip uninstall chainer ideep4py

Training Examples

Training test with mnist dataset:

$ cd examples/mnist
$ python train_mnist.py -g -1

Training test with cifar datasets:

  • run the CIFAR-100 dataset:
$ cd examples/cifar
$ python train_cifar.py –g -1 --dataset='cifar100'
  • run the CIFAR-10 dataset:
$ cd examples/cifar
$ python train_cifar.py –g -1 --dataset='cifar10'

Single Node Performance Test Configurations

For Single Node Performance Test Configurations, please refer to following wiki:

https://github.com/intel/chainer/wiki/Intel-Chainer-Single-Node-Performance-Test-Configurations

License

MIT License (see LICENSE file).

Reference

Tokui, S., Oono, K., Hido, S. and Clayton, J., Chainer: a Next-Generation Open Source Framework for Deep Learning, Proceedings of Workshop on Machine Learning Systems(LearningSys) in The Twenty-ninth Annual Conference on Neural Information Processing Systems (NIPS), (2015) URL, BibTex

More Information

chainer's People

Contributors

anaruse avatar aonotas avatar beam2d avatar bkvogel avatar codyseto avatar crissman avatar delta2323 avatar fukatani avatar gwtnb avatar hakuyume avatar hvy avatar iwiwi avatar jnishi avatar kashif avatar keisuke-umezawa avatar kmaehashi avatar mitmul avatar muupan avatar niboshi avatar okuta avatar rezoo avatar soskek avatar takagi avatar tkerola avatar toslunar avatar unnonouno avatar vilyair avatar wkentaro avatar yuyu2172 avatar zori 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.