SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
Visualizing your Deep learning using
TensorBoard (TensorFlow)
Sung Kim <hunkim+ml@gmail.com>
TensorBoard:TF logging/debugging tool
• Visualize your TF graph
• Plot quantitative metrics
• Show additional data
https://www.tensorflow.org/versions/r0.7/how_tos/summaries_and_tensorboard/index.html
Old fashion: print, print, print
New way!
5 steps of using tensorboard
• From TF graph, decide which node you want to annotate
- with tf.name_scope("test") as scope:
- tf.histogram_summary("weights",W), tf.scalar_summary(“accuracy", accuracy)
• Merge all summaries
- merged = tf.merge_all_summaries()
• Create writer
- writer = tf.train.SummaryWriter("/tmp/mnist_logs", sess.graph_def)
• Run summary merge and add_summary
- summary = sess.run(merged, …); writer.add_summary(summary);
• Launch Tensorboard
- tensorboard --logdir=/tmp/mnist_logs
Name variables
Add scope for better graph hierarch
Add histogram
Add scalar variables
Merge summaries and create writer
after creating session
Run merged summary and write (add summary)
Launch tensorboard
• tensorboard —logdir=/tmp/mnist_logs
• (You can navigate to http://0.0.0.0:6006)
Add scope for better graph hierarch
Add scope for better graph hierarch
Add histogram
Add scalar variables
5 steps of using tensorboard
• From TF graph, decide which node you want to annotate
- with tf.name_scope("test") as scope:
- tf.histogram_summary("weights",W), tf.scalar_summary(“accuracy", accuracy)
• Merge all summaries
- merged = tf.merge_all_summaries()
• Create writer
- writer = tf.train.SummaryWriter("/tmp/mnist_logs", sess.graph_def)
• Run summary merge and add_summary
- summary = sess.run(merged, …); writer.add_summary(summary);
• Launch Tensorboard
- tensorboard --logdir=/tmp/mnist_logs

More Related Content

PDF
Generative adversarial text to image synthesis
PPT
Compiler Design Unit 1
PPTX
Bresenham's line drawing algorithm
PDF
Liver segmentation using U-net: Practical issues @ SNU-TF
PPTX
Segments in Graphics
PDF
Issues in the design of Code Generator
PPTX
Planning and Machine learning, Strips, K Strips
Generative adversarial text to image synthesis
Compiler Design Unit 1
Bresenham's line drawing algorithm
Liver segmentation using U-net: Practical issues @ SNU-TF
Segments in Graphics
Issues in the design of Code Generator
Planning and Machine learning, Strips, K Strips

What's hot (20)

PPTX
Hidden surface removal
PDF
"Getting More from Your Datasets: Data Augmentation, Annotation and Generativ...
PPTX
Introduction to OpenCV
PPTX
Dag representation of basic blocks
PPT
Z buffer
PPTX
Explaining video summarization based on the focus of attention
PPT
Program design techniques
PPT
phases of a compiler
PPT
06 clipping
PPTX
3 d display-methods
PDF
Floyd warshall algorithm
PDF
Lab manual of Digital image processing using python by khalid Shaikh
PPT
Backtracking
PPT
Data Mining: Concepts and Techniques_ Chapter 6: Mining Frequent Patterns, ...
PPTX
Multimedia basic video compression techniques
PDF
Hands-on Deep Learning in Python
PPTX
Access to non local names
PPTX
x.509-Directory Authentication Service
PPT
Type Checking(Compiler Design) #ShareThisIfYouLike
PDF
Introduction To Video Compression
Hidden surface removal
"Getting More from Your Datasets: Data Augmentation, Annotation and Generativ...
Introduction to OpenCV
Dag representation of basic blocks
Z buffer
Explaining video summarization based on the focus of attention
Program design techniques
phases of a compiler
06 clipping
3 d display-methods
Floyd warshall algorithm
Lab manual of Digital image processing using python by khalid Shaikh
Backtracking
Data Mining: Concepts and Techniques_ Chapter 6: Mining Frequent Patterns, ...
Multimedia basic video compression techniques
Hands-on Deep Learning in Python
Access to non local names
x.509-Directory Authentication Service
Type Checking(Compiler Design) #ShareThisIfYouLike
Introduction To Video Compression
Ad

Viewers also liked (20)

PPTX
REMI: Defect Prediction for Efficient API Testing (

ESEC/FSE 2015, Industria...
PDF
Time series classification
PPTX
Jupyter notebok tensorboard 실행하기_20160706
PDF
07 Tensor Visualization
PPTX
Originan
PPTX
Heterogeneous Defect Prediction (

ESEC/FSE 2015)
PDF
A Survey on Automatic Software Evolution Techniques
PDF
3. tensor calculus jan 2013
PPTX
The Anatomy of Developer Social Networks
PDF
How Do Software Engineers Understand Code Changes? FSE 2012
PPTX
Source code comprehension on evolving software
PPT
Crowd debugging (FSE 2015)
PPTX
Automatically Generated Patches as Debugging Aids: A Human Study (FSE 2014)
PPTX
How We Get There: A Context-Guided Search Strategy in Concolic Testing (FSE 2...
PDF
A Survey on Dynamic Symbolic Execution for Automatic Test Generation
PDF
Partitioning Composite Code Changes to Facilitate Code Review (MSR2015)
PDF
Automatic patch generation learned from human written patches
PPTX
CrashLocator: Locating Crashing Faults Based on Crash Stacks (ISSTA 2014)
PDF
Personalized Defect Prediction
PPTX
A Survey on Automatic Test Generation and Crash Reproduction
REMI: Defect Prediction for Efficient API Testing (

ESEC/FSE 2015, Industria...
Time series classification
Jupyter notebok tensorboard 실행하기_20160706
07 Tensor Visualization
Originan
Heterogeneous Defect Prediction (

ESEC/FSE 2015)
A Survey on Automatic Software Evolution Techniques
3. tensor calculus jan 2013
The Anatomy of Developer Social Networks
How Do Software Engineers Understand Code Changes? FSE 2012
Source code comprehension on evolving software
Crowd debugging (FSE 2015)
Automatically Generated Patches as Debugging Aids: A Human Study (FSE 2014)
How We Get There: A Context-Guided Search Strategy in Concolic Testing (FSE 2...
A Survey on Dynamic Symbolic Execution for Automatic Test Generation
Partitioning Composite Code Changes to Facilitate Code Review (MSR2015)
Automatic patch generation learned from human written patches
CrashLocator: Locating Crashing Faults Based on Crash Stacks (ISSTA 2014)
Personalized Defect Prediction
A Survey on Automatic Test Generation and Crash Reproduction
Ad

Similar to Tensor board (20)

PDF
Anirudh Koul. 30 Golden Rules of Deep Learning Performance
PDF
Advanced Spark and TensorFlow Meetup May 26, 2016
PPTX
Meetup tensorframes
PPTX
From Tensorflow Graph to Tensorflow Eager
PDF
A Sneak Peek of MLIR in TensorFlow
PDF
TensorFlow Dev Summit 2018 Extended: TensorFlow Eager Execution
PPTX
Introduction To TensorFlow | Deep Learning Using TensorFlow | CloudxLab
PDF
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & PyTorch with B...
PPTX
190111 tf2 preview_jwkang_pub
PDF
Overview of TensorFlow For Natural Language Processing
PDF
TensorFlow example for AI Ukraine2016
PPTX
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
PDF
Horovod ubers distributed deep learning framework by Alex Sergeev from Uber
PDF
Power ai tensorflowworkloadtutorial-20171117
PDF
Distributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
PPTX
Python presentation
PDF
Simple, fast, and scalable torch7 tutorial
PDF
Introduction to TensorFlow, by Machine Learning at Berkeley
PDF
Hands-on Learning with KubeFlow + Keras/TensorFlow 2.0 + TF Extended (TFX) + ...
PDF
TensorFlow Tutorial.pdf
Anirudh Koul. 30 Golden Rules of Deep Learning Performance
Advanced Spark and TensorFlow Meetup May 26, 2016
Meetup tensorframes
From Tensorflow Graph to Tensorflow Eager
A Sneak Peek of MLIR in TensorFlow
TensorFlow Dev Summit 2018 Extended: TensorFlow Eager Execution
Introduction To TensorFlow | Deep Learning Using TensorFlow | CloudxLab
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & PyTorch with B...
190111 tf2 preview_jwkang_pub
Overview of TensorFlow For Natural Language Processing
TensorFlow example for AI Ukraine2016
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
Horovod ubers distributed deep learning framework by Alex Sergeev from Uber
Power ai tensorflowworkloadtutorial-20171117
Distributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
Python presentation
Simple, fast, and scalable torch7 tutorial
Introduction to TensorFlow, by Machine Learning at Berkeley
Hands-on Learning with KubeFlow + Keras/TensorFlow 2.0 + TF Extended (TFX) + ...
TensorFlow Tutorial.pdf

More from Sung Kim (14)

PPTX
DeepAM: Migrate APIs with Multi-modal Sequence to Sequence Learning
PPTX
Deep API Learning (FSE 2016)
PPTX
Software Defect Prediction on Unlabeled Datasets
PPTX
Survey on Software Defect Prediction
PDF
MSR2014 opening
PPTX
STAR: Stack Trace based Automatic Crash Reproduction
PDF
Transfer defect learning
PDF
Defect, defect, defect: PROMISE 2012 Keynote
PPTX
Predicting Recurring Crash Stacks (ASE 2012)
PPTX
Puzzle-Based Automatic Testing: Bringing Humans Into the Loop by Solving Puzz...
PDF
Software Development Meets the Wisdom of Crowds
PDF
BugTriage with Bug Tossing Graphs (ESEC/FSE 2009)
PDF
Self-defending software: Automatically patching errors in deployed software ...
PDF
ReCrash: Making crashes reproducible by preserving object states (ECOOP 2008)
DeepAM: Migrate APIs with Multi-modal Sequence to Sequence Learning
Deep API Learning (FSE 2016)
Software Defect Prediction on Unlabeled Datasets
Survey on Software Defect Prediction
MSR2014 opening
STAR: Stack Trace based Automatic Crash Reproduction
Transfer defect learning
Defect, defect, defect: PROMISE 2012 Keynote
Predicting Recurring Crash Stacks (ASE 2012)
Puzzle-Based Automatic Testing: Bringing Humans Into the Loop by Solving Puzz...
Software Development Meets the Wisdom of Crowds
BugTriage with Bug Tossing Graphs (ESEC/FSE 2009)
Self-defending software: Automatically patching errors in deployed software ...
ReCrash: Making crashes reproducible by preserving object states (ECOOP 2008)

Recently uploaded (20)

PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Digital Logic Computer Design lecture notes
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
web development for engineering and engineering
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Project quality management in manufacturing
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
573137875-Attendance-Management-System-original
PPTX
additive manufacturing of ss316l using mig welding
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
PPT on Performance Review to get promotions
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Digital Logic Computer Design lecture notes
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
bas. eng. economics group 4 presentation 1.pptx
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Operating System & Kernel Study Guide-1 - converted.pdf
Project quality management in manufacturing
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
573137875-Attendance-Management-System-original
additive manufacturing of ss316l using mig welding
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CH1 Production IntroductoryConcepts.pptx
Construction Project Organization Group 2.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT on Performance Review to get promotions

Tensor board

  • 1. Visualizing your Deep learning using TensorBoard (TensorFlow) Sung Kim <hunkim+ml@gmail.com>
  • 2. TensorBoard:TF logging/debugging tool • Visualize your TF graph • Plot quantitative metrics • Show additional data https://www.tensorflow.org/versions/r0.7/how_tos/summaries_and_tensorboard/index.html
  • 3. Old fashion: print, print, print
  • 5. 5 steps of using tensorboard • From TF graph, decide which node you want to annotate - with tf.name_scope("test") as scope: - tf.histogram_summary("weights",W), tf.scalar_summary(“accuracy", accuracy) • Merge all summaries - merged = tf.merge_all_summaries() • Create writer - writer = tf.train.SummaryWriter("/tmp/mnist_logs", sess.graph_def) • Run summary merge and add_summary - summary = sess.run(merged, …); writer.add_summary(summary); • Launch Tensorboard - tensorboard --logdir=/tmp/mnist_logs
  • 7. Add scope for better graph hierarch
  • 10. Merge summaries and create writer after creating session
  • 11. Run merged summary and write (add summary)
  • 12. Launch tensorboard • tensorboard —logdir=/tmp/mnist_logs • (You can navigate to http://0.0.0.0:6006)
  • 13. Add scope for better graph hierarch
  • 14. Add scope for better graph hierarch
  • 17. 5 steps of using tensorboard • From TF graph, decide which node you want to annotate - with tf.name_scope("test") as scope: - tf.histogram_summary("weights",W), tf.scalar_summary(“accuracy", accuracy) • Merge all summaries - merged = tf.merge_all_summaries() • Create writer - writer = tf.train.SummaryWriter("/tmp/mnist_logs", sess.graph_def) • Run summary merge and add_summary - summary = sess.run(merged, …); writer.add_summary(summary); • Launch Tensorboard - tensorboard --logdir=/tmp/mnist_logs