TimoHackel / ILA-SCNN

Computation using data flow graphs for scalable machine learning

Home Page:https://tensorflow.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool




ILA-SCNN

This repository contains the source code of our paper: Inference, Learning and Attention Mechanisms that Exploit and Preserve Sparsity in Convolutional Networks Our implementation extents tensorflow by providing GPU implementations for layers that are able efficiently process large-scale, sparse data. For more details please refer to our paper.

Installation

After cloning this repository:

  1. Follow: Installing TensorFlow to install tensorflow from source code.

  2. build our sparse modules:

bazel build -c opt --config=cuda --strip=never -s //tensorflow/core/user_ops:direct_sparse_conv_kd.so
  1. set environment variables
echo 'export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$HOME/src/ILA-SCNN/bazel-bin/tensorflow/core/user_ops"' >> ~/.bashrc
echo 'export PYTHONPATH="$PYTHONPATH:$HOME/src/ILA-SCNN/tensorflow/core/user_ops"' >> ~/.bashrc
source ~/.bashrc

Examples

We provide the following examples:

  1. Modelnet Application
  2. MNIST Application

The correct data sets will be downloaded automatically when running the scripts.

About

Computation using data flow graphs for scalable machine learning

https://tensorflow.org

License:Apache License 2.0


Languages

Language:C++ 46.9%Language:Python 41.2%Language:HTML 5.9%Language:Jupyter Notebook 2.5%Language:Go 1.3%Language:Java 0.7%Language:Shell 0.5%Language:C 0.4%Language:CMake 0.2%Language:Objective-C++ 0.1%Language:Makefile 0.1%Language:PureBasic 0.0%Language:Objective-C 0.0%Language:Batchfile 0.0%Language:LLVM 0.0%Language:Perl 0.0%Language:PHP 0.0%Language:Perl 6 0.0%Language:Ruby 0.0%