Giter VIP home page Giter VIP logo

caffemodelvisualizer's Introduction

Caffe model visualizer

This software lets you visualize Caffe models, specifically the convolutional kernels and weights for fully-connected layers of pre-trained models.

Running the program

Requirements

This program requires MATLAB and Caffe. It was tested on MATLAB R2015b and Caffe 1.0.0 RC3, but it should work for earlier versions of both.

Starting the GUI

  1. Download the code (duh).

  2. Move or copy startup.m.example to startup.m.

  3. In startup.m, change the variable g_caffePath to the matlab folder under your Caffe installation.

  4. (Optional) In startup.m, change the variable g_modelRootPath to the folder where you store your models. You don't necessarily have to set it to your model path, but since this determines the starting location of the GUI's file chooser (and nothing more), you should set this to a convenient location.

  5. If needed, add the lib folder under your Caffe installation to your shared library path. For example, if the Caffe installation is at /home/rszeto/caffe, you would run the following command:

    export LD_LIBRARY_PATH=/home/rszeto/caffe/lib:$LD_LIBRARY_PATH
    
  6. Open MATLAB. Make sure it has access to the shared library path above, which should be the case if you call matlab right after the above command.

  7. Run startup.m.

More information

Further instructions on using the GUI itself appear when you run the program.

caffemodelvisualizer's People

Contributors

rszeto avatar

Stargazers

HOO avatar JimmyLauren avatar Roy Smart avatar

Watchers

James Cloos avatar  avatar

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.