All Projects → helinwang → tfsum

helinwang / tfsum

Licence: BSD-3-Clause license
Enable TensorBoard for TensorFlow Go API

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to tfsum

Natural Language Processing With Tensorflow
Natural Language Processing with TensorFlow, published by Packt
Stars: ✭ 222 (+593.75%)
Mutual labels:  tensorboard
Fast-AgingGAN
A deep learning model to age faces in the wild, currently runs at 60+ fps on GPUs
Stars: ✭ 133 (+315.63%)
Mutual labels:  tensorboard
tf-matplotlib
Seamlessly integrate matplotlib figures as tensorflow summaries.
Stars: ✭ 119 (+271.88%)
Mutual labels:  tensorboard
Jupyterlab tensorboard
Tensorboard extension for jupyterlab.
Stars: ✭ 245 (+665.63%)
Mutual labels:  tensorboard
word-embeddings-from-scratch
Creating word embeddings from scratch and visualize them on TensorBoard. Using trained embeddings in Keras.
Stars: ✭ 22 (-31.25%)
Mutual labels:  tensorboard
Google Colab tutorial
Google Colab tutorial with simple network training and Tensorboard.
Stars: ✭ 14 (-56.25%)
Mutual labels:  tensorboard
Tensorflow And Deeplearning Tutorial
A TensorFlow & Deep Learning online course I taught in 2016
Stars: ✭ 2,337 (+7203.13%)
Mutual labels:  tensorboard
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
hub
Public reusable components for Polyaxon
Stars: ✭ 8 (-75%)
Mutual labels:  tensorboard
deepvac
PyTorch Project Specification.
Stars: ✭ 507 (+1484.38%)
Mutual labels:  tensorboard
TF2DeepFloorplan
TF2 Deep FloorPlan Recognition using a Multi-task Network with Room-boundary-Guided Attention. Enable tensorboard, quantization, flask, tflite, docker, github actions and google colab.
Stars: ✭ 98 (+206.25%)
Mutual labels:  tensorboard
DeepFaceRecognition
Face Recognition with Transfer Learning
Stars: ✭ 16 (-50%)
Mutual labels:  tensorboard-visualizations
alphaGAN
A PyTorch implementation of alpha-GAN
Stars: ✭ 15 (-53.12%)
Mutual labels:  tensorboard
Applied Reinforcement Learning
Reinforcement Learning and Decision Making tutorials explained at an intuitive level and with Jupyter Notebooks
Stars: ✭ 229 (+615.63%)
Mutual labels:  tensorboard
Master-Thesis
Deep Reinforcement Learning in Autonomous Driving: the A3C algorithm used to make a car learn to drive in TORCS; Python 3.5, Tensorflow, tensorboard, numpy, gym-torcs, ubuntu, latex
Stars: ✭ 33 (+3.13%)
Mutual labels:  tensorboard
Dynamic Training Bench
Simplify the training and tuning of Tensorflow models
Stars: ✭ 210 (+556.25%)
Mutual labels:  tensorboard
TensorFlow
Swift high-level API for TensorFlow.
Stars: ✭ 49 (+53.13%)
Mutual labels:  tensorboard
labml
🔎 Monitor deep learning model training and hardware usage from your mobile phone 📱
Stars: ✭ 1,213 (+3690.63%)
Mutual labels:  tensorboard
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
progressive-growing-of-gans.pytorch
Unofficial PyTorch implementation of "Progressive Growing of GANs for Improved Quality, Stability, and Variation".
Stars: ✭ 51 (+59.38%)
Mutual labels:  tensorboard

Tensorflow provides golang api for model training and inference, however currently tensorboard is only supported when using python.

This repository enables using tensorboard with tensorflow golang api. tfsum.Writer writes file that tensorboard could understand.

Before using the following piece of code, you have to build tensorflow golang api: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/README.md

Example

package main

import (
        "fmt"

        "github.com/helinwang/tfsum"
        tf "github.com/tensorflow/tensorflow/tensorflow/go"
)

func main() {
        step := 0
        w := &tfsum.Writer{Dir: "./tf-log", Name: "train"}
        var s *tf.Session
        var g *tf.Graph
        var input *tf.Tensor
        sum, err := s.Run(
                map[tf.Output]*tf.Tensor{
                        g.Operation("input").Output(0): input,
                },
                []tf.Output{
                        g.Operation("MergeSummary/MergeSummary").Output(0),
                },
                []*tf.Operation{
                        g.Operation("train_step"),
                })
        if err != nil {
                fmt.Println(err)
        }
        err = w.AddEvent(sum[0].Value().(string), int64(step))
        if err != nil {
                fmt.Println(err)
        }
}

Then run tensorboard normally

tensorboard --logdir=./tf-log
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].