All Projects → endernewton → c2board

endernewton / c2board

Licence: MIT License
Tensorboard for Caffe2

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to c2board

lightning-hydra-template
PyTorch Lightning + Hydra. A very user-friendly template for rapid and reproducible ML experimentation with best practices. ⚡🔥⚡
Stars: ✭ 1,905 (+5853.13%)
Mutual labels:  tensorboard
densenet
A PyTorch Implementation of "Densely Connected Convolutional Networks"
Stars: ✭ 50 (+56.25%)
Mutual labels:  tensorboard
OpenCvSharpDNN
Implementation of YoloV3 and Caffe in OpenCvSharp
Stars: ✭ 20 (-37.5%)
Mutual labels:  caffe2
labml
🔎 Monitor deep learning model training and hardware usage from your mobile phone 📱
Stars: ✭ 1,213 (+3690.63%)
Mutual labels:  tensorboard
deep-scite
🚣 A simple recommendation engine (by way of convolutions and embeddings) written in TensorFlow
Stars: ✭ 20 (-37.5%)
Mutual labels:  tensorboard
AICamera new
Recompile the library with caffe2 in pytorch stable(1.0) and re-implement the AICamera example provided by caffe2 officially.
Stars: ✭ 33 (+3.13%)
Mutual labels:  caffe2
emotion-recognition-GAN
This project is a semi-supervised approach to detect emotions on faces in-the-wild using GAN
Stars: ✭ 20 (-37.5%)
Mutual labels:  tensorboard
TF2-RL
Reinforcement learning algorithms implemented for Tensorflow 2.0+ [DQN, DDPG, AE-DDPG, SAC, PPO, Primal-Dual DDPG]
Stars: ✭ 160 (+400%)
Mutual labels:  tensorboard
pedestrian recognition
A simple human recognition api for re-ID usage, power by paper https://arxiv.org/abs/1703.07737
Stars: ✭ 29 (-9.37%)
Mutual labels:  caffe2
Springboard-Data-Science-Immersive
No description or website provided.
Stars: ✭ 52 (+62.5%)
Mutual labels:  tensorboard
tfsum
Enable TensorBoard for TensorFlow Go API
Stars: ✭ 32 (+0%)
Mutual labels:  tensorboard
mloperator
Machine Learning Operator & Controller for Kubernetes
Stars: ✭ 85 (+165.63%)
Mutual labels:  tensorboard
Tensorflow-Wide-Deep-Local-Prediction
This project demonstrates how to run and save predictions locally using exported tensorflow estimator model
Stars: ✭ 28 (-12.5%)
Mutual labels:  tensorboard
pytorch-android
[EXPERIMENTAL] Demo of using PyTorch 1.0 inside an Android app. Test with your own deep neural network such as ResNet18/SqueezeNet/MobileNet v2 and a phone camera.
Stars: ✭ 105 (+228.13%)
Mutual labels:  caffe2
Deep-Learning
Study and implementation about deep learning models, architectures, applications and frameworks
Stars: ✭ 80 (+150%)
Mutual labels:  tensorboard
Caffe2-C-demo
Show how to use Caffe2 in C++ through a simple LeNet sample project
Stars: ✭ 60 (+87.5%)
Mutual labels:  caffe2
Caffe2-yolo-v3
A Caffe2 implementation of the YOLO v3 object detection algorithm
Stars: ✭ 32 (+0%)
Mutual labels:  caffe2
caffe2-yolo
Bridging caffe2 with yolo, esp on mobile devices
Stars: ✭ 18 (-43.75%)
Mutual labels:  caffe2
streamlit-tensorboard
Streamlit component for TensorBoard, TensorFlow's visualization toolkit
Stars: ✭ 18 (-43.75%)
Mutual labels:  tensorboard
DLInfBench
CNN model inference benchmarks for some popular deep learning frameworks
Stars: ✭ 51 (+59.38%)
Mutual labels:  caffe2

c2board

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.

Prerequisites

  • Caffe2.
  • Tensorboard. The code is meant to be standalone, so that you do not need to import both tensorflow and caffe2 at the same time -- unexpected behaviors can occur. However, tensorboard needs to be installed somewhere (like in another conda environment) for visualization, otherwise the dumped information is not useful by itself.
  • Python libraries:
    # for conda users
    conda install protobuf
    # or for ubuntu: sudo apt-get install protobuf-compiler libprotobuf-dev
    pip install json numpy Pillow six threading

Installation

  1. Clone the repository
git clone https://github.com/endernewton/c2board.git
  1. Make and install it locally
cd c2board
make

Usage

  • For graph visualization, you can follow demo_graph.py. The main function to call is writer.write_graph, which accepts either a CNNModelHelper, or Net, or NetDef object to visualize.
  • Training statistics can be divided into two types:
    • First, for scalars, they are usually loss, current iteration pre-computed, therefore we can directly store them without any additional effort. The relevant function to call is writer.write_scalars(dict, iter) where dict is the dictionary of the scalars, and iter the current iteration.
    • Second, for histograms and images, we need to call the 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.
  • When it starts dumping, you can just use the normal tensorboard command line to visualize things.

Screen shots

These screen shots are taken when training a detector with detectron.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].