-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Create a module that exposes all first-party plugin summaries #561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
wchargin
added a commit
that referenced
this issue
Sep 23, 2017
Summary: Resolves #561. Test Plan: Ran the `build_pip_package.sh` script to build the Python 2 package, then created a new Python 2 virtualenv in which I installed only the latest nightly TensorFlow release (2017-09-22) and the generated wheel. Then wrote ```py import tensorflow as tf from tensorboard import summary result = tf.Session().run(summary.scalar('shelby', tf.constant(3))) s = tf.Summary() s.ParseFromString(result) print(s) ``` and verified that the result was a proper scalar summary. I then repeated the process using `pip install tensorflow==1.3.0` instead of the nightly version to ensure that the module works for normal TensorFlow users. (Note: the audio summary will not work because TensorFlow 1.3 lacks 22730fd4c633a74e59c03ff76dc92e6ae2d5d020. This is fine; users can continue to use the old API for that one.) wchargin-branch: summary-module
wchargin
added a commit
that referenced
this issue
Sep 26, 2017
Summary: Resolves #561. Test Plan: Ran the `build_pip_package.sh` script to build the Python 2 package, then created a new Python 2 virtualenv in which I installed only the latest nightly TensorFlow release (2017-09-22) and the generated wheel. Then wrote ```py import tensorflow as tf from tensorboard import summary result = tf.Session().run(summary.scalar('shelby', tf.constant(3))) s = tf.Summary() s.ParseFromString(result) print(s) ``` and verified that the result was a proper scalar summary. I then repeated the process using `pip install tensorflow==1.3.0` instead of the nightly version to ensure that the module works for normal TensorFlow users. (Note: the audio summary will not work because TensorFlow 1.3 lacks 22730fd4c633a74e59c03ff76dc92e6ae2d5d020. This is fine; users can continue to use the old API for that one.) wchargin-branch: summary-module
wchargin
added a commit
that referenced
this issue
Sep 26, 2017
Summary: Resolves #561. Test Plan: Ran the `build_pip_package.sh` script to build the Python 2 package, then created a new Python 2 virtualenv in which I installed only the latest nightly TensorFlow release (2017-09-22) and the generated wheel. Then wrote ```py import tensorflow as tf from tensorboard import summary result = tf.Session().run(summary.scalar('shelby', tf.constant(3))) s = tf.Summary() s.ParseFromString(result) print(s) ``` and verified that the result was a proper scalar summary. I then repeated the process using `pip install tensorflow==1.3.0` instead of the nightly version to ensure that the module works for normal TensorFlow users. (Note: the audio summary will not work because TensorFlow 1.3 lacks 22730fd4c633a74e59c03ff76dc92e6ae2d5d020. This is fine; users can continue to use the old API for that one.) wchargin-branch: summary-module
jart
pushed a commit
to jart/tensorboard
that referenced
this issue
Sep 26, 2017
Summary: Resolves tensorflow#561. Test Plan: Ran the `build_pip_package.sh` script to build the Python 2 package, then created a new Python 2 virtualenv in which I installed only the latest nightly TensorFlow release (2017-09-22) and the generated wheel. Then wrote ```py import tensorflow as tf from tensorboard import summary result = tf.Session().run(summary.scalar('shelby', tf.constant(3))) s = tf.Summary() s.ParseFromString(result) print(s) ``` and verified that the result was a proper scalar summary. I then repeated the process using `pip install tensorflow==1.3.0` instead of the nightly version to ensure that the module works for normal TensorFlow users. (Note: the audio summary will not work because TensorFlow 1.3 lacks 22730fd4c633a74e59c03ff76dc92e6ae2d5d020. This is fine; users can continue to use the old API for that one.) wchargin-branch: summary-module
jart
pushed a commit
that referenced
this issue
Sep 26, 2017
Summary: Resolves #561. Test Plan: Ran the `build_pip_package.sh` script to build the Python 2 package, then created a new Python 2 virtualenv in which I installed only the latest nightly TensorFlow release (2017-09-22) and the generated wheel. Then wrote ```py import tensorflow as tf from tensorboard import summary result = tf.Session().run(summary.scalar('shelby', tf.constant(3))) s = tf.Summary() s.ParseFromString(result) print(s) ``` and verified that the result was a proper scalar summary. I then repeated the process using `pip install tensorflow==1.3.0` instead of the nightly version to ensure that the module works for normal TensorFlow users. (Note: the audio summary will not work because TensorFlow 1.3 lacks 22730fd4c633a74e59c03ff76dc92e6ae2d5d020. This is fine; users can continue to use the old API for that one.) wchargin-branch: summary-module
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A user who wishes to use the new-style summaries will currently have to write,
(The import alias is necessary in the common case where the user wants to use summaries of multiple types.)
This is a significant increase in verbosity over the status quo, which only requires
Per previous discussion, we'd like to keep the main
tensorboard
module a normal module (no__init__
file) for readability and tooling purposes, but include a moduletensorboard.summary
that imports the summaryop
andpb
files from individual plugins. The API would beThe text was updated successfully, but these errors were encountered: