<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-CA">
	<id>https://docs.deepsense.ca/index.php?action=history&amp;feed=atom&amp;title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform</id>
	<title>Hosting TensorBoard in Notebooks AI Development Platform - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.deepsense.ca/index.php?action=history&amp;feed=atom&amp;title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform"/>
	<link rel="alternate" type="text/html" href="https://docs.deepsense.ca/index.php?title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform&amp;action=history"/>
	<updated>2026-06-06T21:13:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://docs.deepsense.ca/index.php?title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform&amp;diff=746&amp;oldid=prev</id>
		<title>PSuthar at 15:03, 22 October 2025</title>
		<link rel="alternate" type="text/html" href="https://docs.deepsense.ca/index.php?title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform&amp;diff=746&amp;oldid=prev"/>
		<updated>2025-10-22T15:03:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-CA&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:03, 22 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot; &gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Notes ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Notes ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* TensorBoard will only remain active while the notebook instance is running.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* TensorBoard will only remain active while the notebook instance is running.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Avoid exposing TensorBoard publicly; always access it via the secure notebook proxy&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;#160; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Avoid exposing TensorBoard publicly; always access it via the secure notebook proxy.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* For more details, see [https://stackoverflow.com/questions/64909903/how-to-use-tensorboard-in-aws-sagemaker this Stack Overflow reference]&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki_docs_deepsense_ca:diff::1.12:old-744:rev-746 --&gt;
&lt;/table&gt;</summary>
		<author><name>PSuthar</name></author>
		
	</entry>
	<entry>
		<id>https://docs.deepsense.ca/index.php?title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform&amp;diff=744&amp;oldid=prev</id>
		<title>PSuthar: Create hosting TensorBoard in notebooks page</title>
		<link rel="alternate" type="text/html" href="https://docs.deepsense.ca/index.php?title=Hosting_TensorBoard_in_Notebooks_AI_Development_Platform&amp;diff=744&amp;oldid=prev"/>
		<updated>2025-10-08T19:02:31Z</updated>

		<summary type="html">&lt;p&gt;Create hosting TensorBoard in notebooks page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Hosting TensorBoard from JupyterLab Notebook Instance ==&lt;br /&gt;
TensorBoard is a visualization tool for TensorFlow and PyTorch experiments.  &lt;br /&gt;
When using AWS SageMaker or the AI Development Platform, TensorBoard can be hosted directly from your JupyterLab notebook instance and accessed securely via the built-in proxy server.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
* Access to a running JupyterLab environment in SageMaker Studio or the AI Development Platform.  &lt;br /&gt;
* TensorFlow or PyTorch training logs saved to a local directory (e.g., &amp;lt;code&amp;gt;./logs/&amp;lt;/code&amp;gt;).  &lt;br /&gt;
* AWS CLI setup completed (see [[Accessing CLI in Notebooks AI Development Platform]]).  &lt;br /&gt;
&lt;br /&gt;
=== Step 1: Start TensorBoard Server ===&lt;br /&gt;
In a notebook cell or terminal, navigate to your log directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tensorboard --logdir=./logs/ --port=6006 --host=0.0.0.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command starts TensorBoard on port 6006 and binds it to all network interfaces so it can be accessed via the Jupyter proxy.&lt;br /&gt;
&lt;br /&gt;
=== Step 2: Access TensorBoard via Proxy ===&lt;br /&gt;
Once the TensorBoard server is running, open the following URL pattern in your browser (from within the same JupyterLab environment):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
https://&amp;lt;your-notebook-domain&amp;gt;/proxy/6006/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
https://studiolab.sagemaker.aws/proxy/6006/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now see the TensorBoard interface displaying your training metrics and graphs.&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Troubleshooting ===&lt;br /&gt;
* If TensorBoard doesn’t load, ensure:&lt;br /&gt;
** The port (6006) is available and not used by another process.  &lt;br /&gt;
** The logs directory exists and contains valid TensorFlow/PyTorch event files.  &lt;br /&gt;
** You’re using the correct proxy path (&amp;lt;code&amp;gt;/proxy/6006/&amp;lt;/code&amp;gt;).  &lt;br /&gt;
&lt;br /&gt;
* To stop TensorBoard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkill tensorboard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
* TensorBoard will only remain active while the notebook instance is running.  &lt;br /&gt;
* Avoid exposing TensorBoard publicly; always access it via the secure notebook proxy.  &lt;br /&gt;
* For more details, see [https://stackoverflow.com/questions/64909903/how-to-use-tensorboard-in-aws-sagemaker this Stack Overflow reference].&lt;/div&gt;</summary>
		<author><name>PSuthar</name></author>
		
	</entry>
</feed>