Giter Club home page Giter Club logo

pycnn's Introduction

pycnn

Convolutional Neural Networks in Python.

For my own education, I wanted to implement a CNN framework from scratch in Python. Right now this is half-baked and not really useable for anything, but this served as a starting point for the CNN that we use in the assignments for CS 231n.

When NVIDIA released cuDNN I was also curious to see if I could expose the CUDNN functionality to Python, with the goal of eventually implementing a GPU / CPU hybrid CNN implementation in Python. As a proof of concept, I implemented a Tensor4D object in C++ that manages CPU and GPU pointers to data, and several Layer objects that can operate on Tensor4D objects by calling into cuDNN functions. The CPU data of the Tensor4D objects are wrapped in numpy arrays, and exposed as Python classes using Boost-python. The implementation of the Tensor4D object can be found in the file src/pycudnn.cpp and example usage in Python can be found in the file examples/pycudnn_example.py.

One day I want to revisit this and make it all actually work, but for now it will have to live a cursed, half-baked life.

pycnn's People

Contributors

jcjohnson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nojuman

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.