-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
print version with tensorboard --version
#2097
Merged
Merged
Changes from 8 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7192eb8
Added datatype int64
shashvatshahi1998 c2c5a98
solution for --version
shashvatshahi1998 032975f
Resolved conflicts
shashvatshahi1998 07493eb
Version issues
shashvatshahi1998 176d4f9
Changes done
shashvatshahi1998 0e45e48
Changes 1
shashvatshahi1998 90c4736
Changed
shashvatshahi1998 c38f4ec
Addded to core_plugin.py
shashvatshahi1998 d95e68f
Modified core_plugin.py
shashvatshahi1998 e1e40a7
Changes done
shashvatshahi1998 bff483d
Added to core_plugin_test.py
shashvatshahi1998 93766f1
Added version as parameter
shashvatshahi1998 4f66094
Default value provided
shashvatshahi1998 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to define the flag in
core_plugin.py
. See the--inspect
flag definition for an example:tensorboard/tensorboard/plugins/core/core_plugin.py
Lines 363 to 378 in dc71eee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shashvatshahi1998 if you're not working on this can i send pr for the same??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nfelt Defined the flag in
core_plugin.py
See #2100
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amanp592 I was also working on the issue man.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amanp592 please let @shashvatshahi1998 finish working on this PR since they've already started it, and the functionality should all be submitted as a single PR.
If you're looking for a simple issue, you could pick up #1176 which is for ensuring that if --path_prefix is used, the URL printed out includes a trailing slash. The fix for that would be changing
get_url()
here to add a trailing slash to the URL if there isn't one already there:tensorboard/tensorboard/program.py
Lines 519 to 527 in dc71eee
A PR for that should also include a test to confirm the bug is fixed, which would go in
tensorboard/tensorboard/program_test.py
Line 43 in dc71eee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shashvatshahi1998 ohk cool sorry for that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nfelt Thankyou for refering me #1176 i'll look what can be done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amanp592 no worries