MCPcopy Create free account
hub / github.com/PrincetonVision/marvin

github.com/PrincetonVision/marvin @v0.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.2 ↗ · + Follow
338 symbols 805 edges 6 files 10 documented · 3% updated 8y agov0.1.2 · 2016-04-08★ 42817 open issues

Browse by type

Functions 305 Types & classes 33
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Marvin

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

Dependences

Download CUDA 7.5 and cuDNN 4. You will need to register with NVIDIA. Below are some additional steps to set up cuDNN 4. NOTE We highly recommend that you install different versions of cuDNN to different directories (e.g., /usr/local/cudnn/vXX) because different software packages may require different versions.

LIB_DIR=lib$([[ $(uname) == "Linux" ]] && echo 64)
CUDNN_LIB_DIR=/usr/local/cudnn/v5/$LIB_DIR
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/include/

Compilation

./compile.sh

MNIST

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

Tutorials and Documentation

Please see our website at http://marvin.is.

Citation

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.

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

Acknowledgements

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.

Core symbols most depended-on inside this repo

Shape

Method 181
Function 124
Class 23
Enum 10

Languages

C++98%
Python2%

Modules by API surface

marvin.hpp326 symbols
python/marvin/io.py7 symbols
tools/tensorIO_matlab/half2float.cpp2 symbols
tools/tensorIO_matlab/float2half.cpp2 symbols
tools/converter_caffe/caffemodel2marvin.cpp1 symbols

For agents

$ claude mcp add marvin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page