Git Product home page Git Product logo

tensorpack's Introduction

tensorpack

Neural Network Toolbox on TensorFlow

Still in development, but usable.

See some interesting examples to learn about the framework:

Features:

Focused on modularity. Just have to define the three components in training:

  1. The model, or the graph. Define the graph as well as its inputs and outputs. models/ has some scoped abstraction of common models.

  2. The data. All data producer has an unified DataFlow interface, and this interface can be chained to perform complex preprocessing. It uses multiprocess to avoid performance bottleneck on data loading.

  3. The callbacks. They include everything you want to do apart from the training iterations: change hyperparameters, save models, print logs, run validation, and more.

With the above components defined, tensorpack trainer will run the training iterations for you. Multi-GPU training is ready to use by simply changing the trainer.

Dependencies:

  • Python 2 or 3
  • TensorFlow >= 0.8
  • Python bindings for OpenCV
  • other requirements:
pip install --user -r requirements.txt
pip install --user -r opt-requirements.txt (some optional dependencies, you can install later if needed)
  • Use tcmalloc whenever possible: see TF issue
  • allow import tensorpack everywhere:
export PYTHONPATH=$PYTHONPATH:`readlink -f path/to/tensorpack`

tensorpack's People

Contributors

cykustcc avatar ppwwyyxx avatar

Watchers

 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.