A hacked-up visualization tool for caffe2. Specifically, it dumps the computation graph and the training statistics of caffe2 into a tensorboard compatible format. Once it starts dumping, you can use tensorboard to visualize the results.
# for conda users
conda install protobuf
# or for ubuntu: sudo apt-get install protobuf-compiler libprotobuf-dev
pip install json numpy Pillow six threading
git clone https://github.com/endernewton/c2board.git
cd c2board
make
demo_graph.py. The main function to call is writer.write_graph, which accepts either a CNNModelHelper, or Net, or NetDef object to visualize.writer.write_scalars(dict, iter) where dict is the dictionary of the scalars, and iter the current iteration.workspace.FetchBlob function to fetch the values. For those, we first use writer.append_histogram(name) or writer.append_image(name) to build the list of blobs we are interested in when building up the graph. Then, during training we only need to call writer.write_summaries(iter) and the underlying method will take care of fetching blobs, computing histograms, etc.tensorboard command line to visualize things.These screen shots are taken when training a detector with detectron.