GithubHelp home page GithubHelp logo

slimgroup / xconv Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 1.0 3.93 MB

Memory efficient convolution networks

License: MIT License

Julia 42.28% Python 57.72%
convolutional-neural-networks convolutional-layers probing unbiased julia-language pytorch

xconv's Introduction

DOI

Memory efficient convolution layer via matrix sketching

This software provides the implementation of convolution layers where the gradient with respect to the weights is approximated by an unbiased estimate. This estimate is obtained via matrix probing. This package contains two implementation:

  • A julia implementation that overloads NNlib for the computation of ∇conv_filter.
  • A PyTorch implementation that defines a new convolution layer Xconv2D, Xconv3D.

Julia installation

To install the julia package, you can install it via the standard dev command

>> ]dev https://github.com/slimgroup/XConv

Pip installation

The python source of this package can also be directly install via pip:

pip install git+https://github.com/slimgroup/XConv

or if you wish to get access to the experiments and benchmarking script:

git clone https://github.com/slimgroup/XConv
cd XConv
pip install -e .

This installation will install the default torch, we recommend to install the version that is best suited for your system following Torch Installation.

Acknowledgment

This software was developped and tested on GPUs thanks to NVIDIA Academic Hardware Grant.

Authors

This package is developpend at Georgia Institute of Technology byt the ML4Seismic Lab. The main autors of this package are:

License

This package is distributed under the MIT license. Please check the LICENSE file for usage.

xconv's People

Contributors

flexie avatar mloubout avatar sheevy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sheevy

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.