Need help with marvin?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

414 Stars 137 Forks MIT License 101 Commits 24 Opened issues


Marvin: A Minimalist GPU-only N-Dimensional ConvNets Framework

Services available


Need anything else?

Contributors list


Marvin is a GPU-only neural network framework made with simplicity, hackability, speed, memory consumption, and high dimensional data in mind.


Download CUDA 7.5 and cuDNN 5.1. You will need to register with NVIDIA. Below are some additional steps to set up cuDNN 5.1. NOTE We highly recommend that you install different versions of cuDNN to different directories (e.g.,

) because different software packages may require different versions.
LIB_DIR=lib$([[ $(uname) == "Linux" ]] && echo 64)
echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDNN_LIB_DIR >> ~/.profile && ~/.profile

tar zxvf cudnn*.tgz sudo cp cuda/$LIB_DIR/* $CUDNN_LIB_DIR/ sudo cp cuda/include/* /usr/local/cudnn/v5.1/include/




  1. Prepare data: run examples/mnist/prepare_mnist.m in Matlab
  2. Train a model: run ./examples/mnist/ in shell
  3. Visualize filters: run examples/mnist/demovisfilter.m in Matlab

Tutorials and Documentation

Please see our website at


The following is the citation of the current version of Marvin. Note that the reference may change in the future when new contributors join the project.

      title        = {Marvin: A minimalist {GPU}-only {N}-dimensional {ConvNet} framework},
      author       = {Jianxiong Xiao and Shuran Song and Daniel Suo and Fisher Yu},
      howpublished = {\url{}},
      note         = {Accessed: 2015-11-10}


Marvin stands on the shoulders of others who have open-sourced their work. You can find the source code of their projects along with license information below. We acknowledge and are grateful to these developers and researchers for their contributions to open source.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.