Code Monkey home page Code Monkey logo

dlanalyzer's Introduction

Deep Learning Analyzer

setup environments for Caffe

export PYTHONPATH=/path/to/Caffe/python:$PYTHONPATH

setup environments for the DLAnalyzer

export PYTHONPATH=/path/to/DLAnalyzer/python:$PYTHONPATH

export PYTHONPATH=/path/to/DLAnalyzer/config:$PYTHONPATH

Running DLAnalyzer

High-level instructions:

  1. Go to the config directory and have a look at the _template.py files and the variables defined in it.

  2. To make your own configuration, go to caffe_config.py and selector_config.py, and have a look at the example configurations. This is a good starting point.

  3. To run the DLAnalyzer, go to test directory. Here are some key information:

    a. csv file (CRF_data.csv in this example) which will include information about the patients (CRF), corresponding images and a set of pictures, which will be used in the algorithm (both training and testing). In the csv file, the corresponding images are used as a .txt file, indicating the path to the iriginal raw images.

    b. The actual data can be locating elsewhere

    c. The Segnet template model is located at: model_segnet. This is template and all variables in all three files will be set to those indicated in the config file. The template original directory is read only, so a copy with fixed values will be placed inside the working area.

    d. The output of the DLAnalyzer will be created in inside the test directory, named as you had indicated in the config file

  4. To run the machinery, execute python run.py

export DYLD_LIBRARY_PATH=/usr/local/cuda/lib64:$DYLD_LIBRARY_PATH export PYTHONPATH=~/caffe-segnet-cudnn5/python:$PYTHONPATH export PYTHONPATH=/disk2/nik/Analyzer/python:$PYTHONPATH export PYTHONPATH=/disk2/nik/Analyzer/config:$PYTHONPATH export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64" export CUDA_HOME=/usr/local/cuda

dlanalyzer's People

Contributors

yifaliu 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.