Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A common endpoint for viewing graphs in notebooks was: http://tensorboard.appspot.com/tf-graph-basic.build.html
Note that this link is now dead! I'm not sure whether this code was modified from appspot app or visa versa, but it it the only living copy of
tf-graph-basic.build.html
I can find. As of recent chrome updates<link rel=X>
for importing HTML does not work, as such we move the polymer definitions into the file and pass the data as a base64 encodedlocation.hash
. This method also allows for hosting the static page off server (work around for coors).Note that GET requests are limited in size, thus super large graphs will NOT be visible. However, this was more a "trying to figure out what's wrong" rather than a "let's come up with a permanent fix", and meets my purposes.
NOTE: Tensorflow 2 exposes a tensorboard magic that lets you encode an entire tensorboard into a notebook. However this is way better imo (less cluttered, doesn't require a server).