Skip to content

neopenx/DragonBoard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DragonBoard: A naïve dashboard for Dragon

Runtime Requirements for Python

  1. flask

  2. Dragon


Installation

  1. Clone this repository

  2. Copy files

    cp -r DragonBoard/static DragonBoard/templates $DRAGON_ROOT/python/dragon/tools/board
  3. Install Dragon

    cd $DRAGON_ROOT/python
    python setup.py install

    Note: If you do not have permission, try as follows:

    cd $DRAGON_ROOT/python
    python setup.py install --user

Usage

Import

You should start App firstly.

from dragon.tools.board.app import DragonBoard
board = DragonBoard()
board.start()

SummaryWriter

We support ScalarSummary only NOW.

import dragon.tools.summary_writer as sw
scalar_writer = sw.ScalarSummary()
iter = 2333
scalar_writer.add_summary(('loss', 2.333), 2333)

Attention: We preset a ScalarSummary for caffe.Solver, you just need to start the app.

DashBoard

Open the Browser, direct to localhost:5000 or 127.0.0.1:5000

You can also set the port freely for multiple Apps:

board = DragonBoard(port=2333)
board.start()

Tricks

  1. The dashboard will directly use the logs folder(made by SummaryWriter).

    If you forgot to start the board before training, you can start the borad in another python file,

    i.e., the board just simply Crawl your log files.

  2. Comming soon...

About

A naïve dashboard for Dragon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published